Operator Reference

get_sample_num_class_gmmT_get_sample_num_class_gmmGetSampleNumClassGmmGetSampleNumClassGmmget_sample_num_class_gmm (Operator)

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

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()

def get_sample_num_class_gmm(gmmhandle: HHandle) -> int

Description

get_sample_num_class_gmmget_sample_num_class_gmmGetSampleNumClassGmmGetSampleNumClassGmmget_sample_num_class_gmm returns in NumSamplesNumSamplesNumSamplesnumSamplesnum_samples 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_gmmGetSampleNumClassGmmGetSampleNumClassGmmget_sample_num_class_gmm should be called before the individual training samples are read out with get_sample_class_gmmget_sample_class_gmmGetSampleClassGmmGetSampleClassGmmget_sample_class_gmm, e.g., for the purpose of reclassifying the training data (see get_sample_class_gmmget_sample_class_gmmGetSampleClassGmmGetSampleClassGmmget_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

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

GMM handle.

NumSamplesNumSamplesNumSamplesnumSamplesnum_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_gmmGetSampleNumClassGmmGetSampleNumClassGmmget_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_gmmAddSampleClassGmmAddSampleClassGmmadd_sample_class_gmm, add_samples_image_class_gmmadd_samples_image_class_gmmAddSamplesImageClassGmmAddSamplesImageClassGmmadd_samples_image_class_gmm, read_samples_class_gmmread_samples_class_gmmReadSamplesClassGmmReadSamplesClassGmmread_samples_class_gmm

Possible Successors

get_sample_class_gmmget_sample_class_gmmGetSampleClassGmmGetSampleClassGmmget_sample_class_gmm

See also

create_class_gmmcreate_class_gmmCreateClassGmmCreateClassGmmcreate_class_gmm

Module

Foundation