get_sample_num_class_train_dataT_get_sample_num_class_train_dataGetSampleNumClassTrainDataGetSampleNumClassTrainData (Operator)

Name

get_sample_num_class_train_dataT_get_sample_num_class_train_dataGetSampleNumClassTrainDataGetSampleNumClassTrainData — Return the number of training samples stored in the training data.

Signature

get_sample_num_class_train_data( : : ClassTrainDataHandle : NumSamples)

Herror T_get_sample_num_class_train_data(const Htuple ClassTrainDataHandle, Htuple* NumSamples)

void GetSampleNumClassTrainData(const HTuple& ClassTrainDataHandle, HTuple* NumSamples)

Hlong HClassTrainData::GetSampleNumClassTrainData() const

static void HOperatorSet.GetSampleNumClassTrainData(HTuple classTrainDataHandle, out HTuple numSamples)

int HClassTrainData.GetSampleNumClassTrainData()

Description

get_sample_num_class_train_dataget_sample_num_class_train_dataGetSampleNumClassTrainDataGetSampleNumClassTrainDataGetSampleNumClassTrainData returns in NumSamplesNumSamplesNumSamplesNumSamplesnumSamples the number of training samples which are stored in the training data specified by ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandle.

Execution Information

Parameters

ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandle (input_control)  class_train_data HClassTrainData, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of training data.

NumSamplesNumSamplesNumSamplesNumSamplesnumSamples (output_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Number of stored training samples.

Result

If ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandle is valid, the operator get_sample_num_class_train_dataget_sample_num_class_train_dataGetSampleNumClassTrainDataGetSampleNumClassTrainDataGetSampleNumClassTrainData returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.

Possible Predecessors

add_sample_class_train_dataadd_sample_class_train_dataAddSampleClassTrainDataAddSampleClassTrainDataAddSampleClassTrainData

Possible Successors

get_sample_class_train_dataget_sample_class_train_dataGetSampleClassTrainDataGetSampleClassTrainDataGetSampleClassTrainData

See also

create_class_train_datacreate_class_train_dataCreateClassTrainDataCreateClassTrainDataCreateClassTrainData

Module

Foundation