Skip to content

get_params_class_gmmGetParamsClassGmmGetParamsClassGmmget_params_class_gmmT_get_params_class_gmm🔗

Short description🔗

get_params_class_gmmGetParamsClassGmmGetParamsClassGmmget_params_class_gmmT_get_params_class_gmm — Return the parameters of a Gaussian Mixture Model.

Signature🔗

get_params_class_gmm( class_gmm GMMHandle, out integer NumDim, out integer NumClasses, out integer MinCenters, out integer MaxCenters, out string CovarType )void GetParamsClassGmm( const HTuple& GMMHandle, HTuple* NumDim, HTuple* NumClasses, HTuple* MinCenters, HTuple* MaxCenters, HTuple* CovarType )static void HOperatorSet.GetParamsClassGmm( HTuple GMMHandle, out HTuple numDim, out HTuple numClasses, out HTuple minCenters, out HTuple maxCenters, out HTuple covarType )def get_params_class_gmm( gmmhandle: HHandle ) -> Tuple[int, int, Sequence[int], Sequence[int], str]

Herror T_get_params_class_gmm( 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

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

Description🔗

get_params_class_gmmGetParamsClassGmm returns the parameters of a Gaussian Mixture Model (GMM) that were specified when the GMM was created with create_class_gmmCreateClassGmm. This is particularly useful if the GMM was read with read_class_gmmReadClassGmm. The output of get_params_class_gmmGetParamsClassGmm 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_gmmCreateClassGmm.

Execution information🔗

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🔗

GMMHandleGMMHandlegmmhandle (input_control) class_gmm → (handle)HTuple (HHandle)HClassGmm, HTuple (IntPtr)HHandleHtuple (handle)

GMM handle.

NumDimnumDimnum_dim (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Number of dimensions of the feature space.

NumClassesnumClassesnum_classes (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Number of classes of the GMM.

MinCentersminCentersmin_centers (output_control) integer-array → (integer)HTuple (Hlong)HTuple (int / long)Sequence[int]Htuple (Hlong)

Minimum number of centers per GMM class.

MaxCentersmaxCentersmax_centers (output_control) integer-array → (integer)HTuple (Hlong)HTuple (int / long)Sequence[int]Htuple (Hlong)

Maximum number of centers per GMM class.

CovarTypecovarTypecovar_type (output_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

Type of the covariance matrices.

Result🔗

If the parameters are valid, the operator get_params_class_gmmGetParamsClassGmm returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.

Combinations with other operators🔗

Combinations

Possible predecessors

create_class_gmmCreateClassGmm, read_class_gmmReadClassGmm

Possible successors

add_sample_class_gmmAddSampleClassGmm, train_class_gmmTrainClassGmm

See also

evaluate_class_gmmEvaluateClassGmm, classify_class_gmmClassifyClassGmm

Module🔗

Foundation