get_sample_num_class_mlpT_get_sample_num_class_mlpGetSampleNumClassMlpGetSampleNumClassMlpget_sample_num_class_mlp (Operator)

Name

get_sample_num_class_mlpT_get_sample_num_class_mlpGetSampleNumClassMlpGetSampleNumClassMlpget_sample_num_class_mlp — Return the number of training samples stored in the training data of a multilayer perceptron.

Signature

get_sample_num_class_mlp( : : MLPHandle : NumSamples)

Herror T_get_sample_num_class_mlp(const Htuple MLPHandle, Htuple* NumSamples)

void GetSampleNumClassMlp(const HTuple& MLPHandle, HTuple* NumSamples)

Hlong HClassMlp::GetSampleNumClassMlp() const

static void HOperatorSet.GetSampleNumClassMlp(HTuple MLPHandle, out HTuple numSamples)

int HClassMlp.GetSampleNumClassMlp()

def get_sample_num_class_mlp(mlphandle: HHandle) -> int

Description

get_sample_num_class_mlpget_sample_num_class_mlpGetSampleNumClassMlpGetSampleNumClassMlpGetSampleNumClassMlpget_sample_num_class_mlp returns in NumSamplesNumSamplesNumSamplesNumSamplesnumSamplesnum_samples the number of training samples that are stored in the multilayer perceptron (MLP) given by MLPHandleMLPHandleMLPHandleMLPHandleMLPHandlemlphandle. get_sample_num_class_mlpget_sample_num_class_mlpGetSampleNumClassMlpGetSampleNumClassMlpGetSampleNumClassMlpget_sample_num_class_mlp should be called before the individual training samples are accessed with get_sample_class_mlpget_sample_class_mlpGetSampleClassMlpGetSampleClassMlpGetSampleClassMlpget_sample_class_mlp, e.g., for the purpose of reclassifying the training data (see get_sample_class_mlpget_sample_class_mlpGetSampleClassMlpGetSampleClassMlpGetSampleClassMlpget_sample_class_mlp).

Execution Information

Parameters

MLPHandleMLPHandleMLPHandleMLPHandleMLPHandlemlphandle (input_control)  class_mlp HClassMlp, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

MLP handle.

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

Number of stored training samples.

Result

If MLPHandleMLPHandleMLPHandleMLPHandleMLPHandlemlphandle is valid, the operator get_sample_num_class_mlpget_sample_num_class_mlpGetSampleNumClassMlpGetSampleNumClassMlpGetSampleNumClassMlpget_sample_num_class_mlp returns the value TRUE. If necessary an exception is raised.

Possible Predecessors

add_sample_class_mlpadd_sample_class_mlpAddSampleClassMlpAddSampleClassMlpAddSampleClassMlpadd_sample_class_mlp, read_samples_class_mlpread_samples_class_mlpReadSamplesClassMlpReadSamplesClassMlpReadSamplesClassMlpread_samples_class_mlp

Possible Successors

get_sample_class_mlpget_sample_class_mlpGetSampleClassMlpGetSampleClassMlpGetSampleClassMlpget_sample_class_mlp

See also

create_class_mlpcreate_class_mlpCreateClassMlpCreateClassMlpCreateClassMlpcreate_class_mlp

Module

Foundation