Operator Reference

get_params_class_gmmT_get_params_class_gmmGetParamsClassGmmGetParamsClassGmmget_params_class_gmm (Operator)

get_params_class_gmmT_get_params_class_gmmGetParamsClassGmmGetParamsClassGmmget_params_class_gmm — Return the parameters of a Gaussian Mixture Model.

Signature

get_params_class_gmm( : : GMMHandle : NumDim, NumClasses, MinCenters, MaxCenters, CovarType)

Herror T_get_params_class_gmm(const Htuple GMMHandle, Htuple* NumDim, Htuple* NumClasses, Htuple* MinCenters, Htuple* MaxCenters, Htuple* CovarType)

void GetParamsClassGmm(const HTuple& GMMHandle, HTuple* NumDim, HTuple* NumClasses, HTuple* MinCenters, HTuple* MaxCenters, HTuple* CovarType)

Hlong HClassGmm::GetParamsClassGmm(Hlong* NumClasses, HTuple* MinCenters, HTuple* MaxCenters, HString* CovarType) const

static void HOperatorSet.GetParamsClassGmm(HTuple GMMHandle, out HTuple numDim, out HTuple numClasses, out HTuple minCenters, out HTuple maxCenters, out HTuple covarType)

int HClassGmm.GetParamsClassGmm(out int numClasses, out HTuple minCenters, out HTuple maxCenters, out string covarType)

def get_params_class_gmm(gmmhandle: HHandle) -> Tuple[int, int, Sequence[int], Sequence[int], str]

Description

get_params_class_gmmget_params_class_gmmGetParamsClassGmmGetParamsClassGmmget_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_gmmCreateClassGmmCreateClassGmmcreate_class_gmm. This is particularly useful if the GMM was read with read_class_gmmread_class_gmmReadClassGmmReadClassGmmread_class_gmm. The output of get_params_class_gmmget_params_class_gmmGetParamsClassGmmGetParamsClassGmmget_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_gmmCreateClassGmmCreateClassGmmcreate_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

GMMHandleGMMHandleGMMHandleGMMHandlegmmhandle (input_control)  class_gmm HClassGmm, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

GMM handle.

NumDimNumDimNumDimnumDimnum_dim (output_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Number of dimensions of the feature space.

NumClassesNumClassesNumClassesnumClassesnum_classes (output_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Number of classes of the GMM.

MinCentersMinCentersMinCentersminCentersmin_centers (output_control)  integer-array HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Minimum number of centers per GMM class.

MaxCentersMaxCentersMaxCentersmaxCentersmax_centers (output_control)  integer-array HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Maximum number of centers per GMM class.

CovarTypeCovarTypeCovarTypecovarTypecovar_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_gmmGetParamsClassGmmGetParamsClassGmmget_params_class_gmm returns the value 2 ( H_MSG_TRUE) . If necessary an exception is raised.

Possible Predecessors

create_class_gmmcreate_class_gmmCreateClassGmmCreateClassGmmcreate_class_gmm, read_class_gmmread_class_gmmReadClassGmmReadClassGmmread_class_gmm

Possible Successors

add_sample_class_gmmadd_sample_class_gmmAddSampleClassGmmAddSampleClassGmmadd_sample_class_gmm, train_class_gmmtrain_class_gmmTrainClassGmmTrainClassGmmtrain_class_gmm

See also

evaluate_class_gmmevaluate_class_gmmEvaluateClassGmmEvaluateClassGmmevaluate_class_gmm, classify_class_gmmclassify_class_gmmClassifyClassGmmClassifyClassGmmclassify_class_gmm

Module

Foundation