get_sample_num_class_gmmT_get_sample_num_class_gmmGetSampleNumClassGmmGetSampleNumClassGmm (Operator)

Name

get_sample_num_class_gmmT_get_sample_num_class_gmmGetSampleNumClassGmmGetSampleNumClassGmm — Return the number of training samples stored in the training data of a Gaussian Mixture Model (GMM).

Signature

get_sample_num_class_gmm( : : GMMHandle : NumSamples)

Herror T_get_sample_num_class_gmm(const Htuple GMMHandle, Htuple* NumSamples)

void GetSampleNumClassGmm(const HTuple& GMMHandle, HTuple* NumSamples)

Hlong HClassGmm::GetSampleNumClassGmm() const

static void HOperatorSet.GetSampleNumClassGmm(HTuple GMMHandle, out HTuple numSamples)

int HClassGmm.GetSampleNumClassGmm()

Description

get_sample_num_class_gmmget_sample_num_class_gmmGetSampleNumClassGmmGetSampleNumClassGmmGetSampleNumClassGmm returns in NumSamplesNumSamplesNumSamplesNumSamplesnumSamples the number of training samples that are stored in the Gaussian Mixture Model (GMM) given by GMMHandleGMMHandleGMMHandleGMMHandleGMMHandle. get_sample_num_class_gmmget_sample_num_class_gmmGetSampleNumClassGmmGetSampleNumClassGmmGetSampleNumClassGmm should be called before the individual training samples are read out with get_sample_class_gmmget_sample_class_gmmGetSampleClassGmmGetSampleClassGmmGetSampleClassGmm, e.g., for the purpose of reclassifying the training data (see get_sample_class_gmmget_sample_class_gmmGetSampleClassGmmGetSampleClassGmmGetSampleClassGmm).

Execution Information

Parameters

GMMHandleGMMHandleGMMHandleGMMHandleGMMHandle (input_control)  class_gmm HClassGmm, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

GMM handle.

NumSamplesNumSamplesNumSamplesNumSamplesnumSamples (output_control)  integer HTupleHTupleHtuple (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_gmmGetSampleNumClassGmmGetSampleNumClassGmmGetSampleNumClassGmm returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.

Possible Predecessors

add_sample_class_gmmadd_sample_class_gmmAddSampleClassGmmAddSampleClassGmmAddSampleClassGmm, add_samples_image_class_gmmadd_samples_image_class_gmmAddSamplesImageClassGmmAddSamplesImageClassGmmAddSamplesImageClassGmm, read_samples_class_gmmread_samples_class_gmmReadSamplesClassGmmReadSamplesClassGmmReadSamplesClassGmm

Possible Successors

get_sample_class_gmmget_sample_class_gmmGetSampleClassGmmGetSampleClassGmmGetSampleClassGmm

See also

create_class_gmmcreate_class_gmmCreateClassGmmCreateClassGmmCreateClassGmm

Module

Foundation