get_params_class_gmmT_get_params_class_gmmGetParamsClassGmmGetParamsClassGmmget_params_class_gmm (Operator)
Name
get_params_class_gmmT_get_params_class_gmmGetParamsClassGmmGetParamsClassGmmget_params_class_gmm
— Return the parameters of a Gaussian Mixture Model.
Signature
def get_params_class_gmm(gmmhandle: HHandle) -> Tuple[int, int, Sequence[int], Sequence[int], str]
Description
get_params_class_gmmget_params_class_gmmGetParamsClassGmmGetParamsClassGmmGetParamsClassGmmget_params_class_gmm
returns the parameters of a Gaussian
Mixture Model (GMM) that were specified when the GMM was created
with create_class_gmmcreate_class_gmmCreateClassGmmCreateClassGmmCreateClassGmmcreate_class_gmm
. This is particularly useful if the
GMM was read with read_class_gmmread_class_gmmReadClassGmmReadClassGmmReadClassGmmread_class_gmm
. The output of
get_params_class_gmmget_params_class_gmmGetParamsClassGmmGetParamsClassGmmGetParamsClassGmmget_params_class_gmm
can, for example, be used to check
whether the feature vectors and/or the target data to be used have
appropriate dimensions to be used with GMM. For a description of
the parameters, see create_class_gmmcreate_class_gmmCreateClassGmmCreateClassGmmCreateClassGmmcreate_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.
NumDimNumDimNumDimNumDimnumDimnum_dim
(output_control) integer →
HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Number of dimensions of the feature space.
NumClassesNumClassesNumClassesNumClassesnumClassesnum_classes
(output_control) integer →
HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Number of classes of the GMM.
MinCentersMinCentersMinCentersMinCentersminCentersmin_centers
(output_control) integer-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Minimum number of centers per GMM class.
MaxCentersMaxCentersMaxCentersMaxCentersmaxCentersmax_centers
(output_control) integer-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Maximum number of centers per GMM class.
CovarTypeCovarTypeCovarTypeCovarTypecovarTypecovar_type
(output_control) string →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Type of the covariance matrices.
Result
If the parameters are valid, the operator
get_params_class_gmmget_params_class_gmmGetParamsClassGmmGetParamsClassGmmGetParamsClassGmmget_params_class_gmm
returns the value 2 (
H_MSG_TRUE)
. If necessary
an exception is raised.
Possible Predecessors
create_class_gmmcreate_class_gmmCreateClassGmmCreateClassGmmCreateClassGmmcreate_class_gmm
,
read_class_gmmread_class_gmmReadClassGmmReadClassGmmReadClassGmmread_class_gmm
Possible Successors
add_sample_class_gmmadd_sample_class_gmmAddSampleClassGmmAddSampleClassGmmAddSampleClassGmmadd_sample_class_gmm
,
train_class_gmmtrain_class_gmmTrainClassGmmTrainClassGmmTrainClassGmmtrain_class_gmm
See also
evaluate_class_gmmevaluate_class_gmmEvaluateClassGmmEvaluateClassGmmEvaluateClassGmmevaluate_class_gmm
,
classify_class_gmmclassify_class_gmmClassifyClassGmmClassifyClassGmmClassifyClassGmmclassify_class_gmm
Module
Foundation