get_sample_num_class_gmmT_get_sample_num_class_gmmGetSampleNumClassGmmGetSampleNumClassGmmget_sample_num_class_gmm (Operator)
Name
get_sample_num_class_gmmT_get_sample_num_class_gmmGetSampleNumClassGmmGetSampleNumClassGmmget_sample_num_class_gmm
— Return the number of training samples stored in the training data of
a Gaussian Mixture Model (GMM).
Signature
def get_sample_num_class_gmm(gmmhandle: HHandle) -> int
Description
get_sample_num_class_gmmget_sample_num_class_gmmGetSampleNumClassGmmGetSampleNumClassGmmGetSampleNumClassGmmget_sample_num_class_gmm
returns in NumSamplesNumSamplesNumSamplesNumSamplesnumSamplesnum_samples
the
number of training samples that are stored in the Gaussian Mixture
Model (GMM) given by GMMHandleGMMHandleGMMHandleGMMHandleGMMHandlegmmhandle
.
get_sample_num_class_gmmget_sample_num_class_gmmGetSampleNumClassGmmGetSampleNumClassGmmGetSampleNumClassGmmget_sample_num_class_gmm
should be called before the
individual training samples are read out with
get_sample_class_gmmget_sample_class_gmmGetSampleClassGmmGetSampleClassGmmGetSampleClassGmmget_sample_class_gmm
, e.g., for the purpose of reclassifying
the training data (see get_sample_class_gmmget_sample_class_gmmGetSampleClassGmmGetSampleClassGmmGetSampleClassGmmget_sample_class_gmm
).
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
GMMHandleGMMHandleGMMHandleGMMHandleGMMHandlegmmhandle
(input_control) class_gmm →
HClassGmm, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
GMM handle.
NumSamplesNumSamplesNumSamplesNumSamplesnumSamplesnum_samples
(output_control) integer →
HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Number of stored training samples.
Result
If the parameters are valid, the operator
get_sample_num_class_gmmget_sample_num_class_gmmGetSampleNumClassGmmGetSampleNumClassGmmGetSampleNumClassGmmget_sample_num_class_gmm
returns the value 2 (
H_MSG_TRUE)
. If
necessary an exception is raised.
Possible Predecessors
add_sample_class_gmmadd_sample_class_gmmAddSampleClassGmmAddSampleClassGmmAddSampleClassGmmadd_sample_class_gmm
,
add_samples_image_class_gmmadd_samples_image_class_gmmAddSamplesImageClassGmmAddSamplesImageClassGmmAddSamplesImageClassGmmadd_samples_image_class_gmm
,
read_samples_class_gmmread_samples_class_gmmReadSamplesClassGmmReadSamplesClassGmmReadSamplesClassGmmread_samples_class_gmm
Possible Successors
get_sample_class_gmmget_sample_class_gmmGetSampleClassGmmGetSampleClassGmmGetSampleClassGmmget_sample_class_gmm
See also
create_class_gmmcreate_class_gmmCreateClassGmmCreateClassGmmCreateClassGmmcreate_class_gmm
Module
Foundation