Operator Reference

get_sample_num_class_train_dataT_get_sample_num_class_train_dataGetSampleNumClassTrainDataGetSampleNumClassTrainDataget_sample_num_class_train_data (Operator)

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_dataGetSampleNumClassTrainDataGetSampleNumClassTrainDataget_sample_num_class_train_data returns in NumSamplesNumSamplesNumSamplesnumSamplesnum_samples the number of training samples which are stored in the training data specified by ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandleclass_train_data_handle.

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

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

Handle of training data.

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

Number of stored training samples.

Result

If ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandleclass_train_data_handle is valid, the operator get_sample_num_class_train_dataget_sample_num_class_train_dataGetSampleNumClassTrainDataGetSampleNumClassTrainDataget_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_dataAddSampleClassTrainDataAddSampleClassTrainDataadd_sample_class_train_data

Possible Successors

get_sample_class_train_dataget_sample_class_train_dataGetSampleClassTrainDataGetSampleClassTrainDataget_sample_class_train_data

See also

create_class_train_datacreate_class_train_dataCreateClassTrainDataCreateClassTrainDatacreate_class_train_data

Module

Foundation