get_sample_num_class_train_dataT_get_sample_num_class_train_dataGetSampleNumClassTrainDataGetSampleNumClassTrainDataget_sample_num_class_train_data (Operator)

Name

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

def get_sample_num_class_train_data(class_train_data_handle: HHandle) -> int

Description

get_sample_num_class_train_dataget_sample_num_class_train_dataGetSampleNumClassTrainDataGetSampleNumClassTrainDataGetSampleNumClassTrainDataget_sample_num_class_train_data returns in NumSamplesNumSamplesNumSamplesNumSamplesnumSamplesnum_samples the number of training samples which are stored in the training data specified by ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandleclass_train_data_handle.

Execution Information

Parameters

ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandleclass_train_data_handle (input_control)  class_train_data HClassTrainData, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of training data.

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

Number of stored training samples.

Result

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

Possible Predecessors

add_sample_class_train_dataadd_sample_class_train_dataAddSampleClassTrainDataAddSampleClassTrainDataAddSampleClassTrainDataadd_sample_class_train_data

Possible Successors

get_sample_class_train_dataget_sample_class_train_dataGetSampleClassTrainDataGetSampleClassTrainDataGetSampleClassTrainDataget_sample_class_train_data

See also

create_class_train_datacreate_class_train_dataCreateClassTrainDataCreateClassTrainDataCreateClassTrainDatacreate_class_train_data

Module

Foundation