get_sample_num_class_mlpT_get_sample_num_class_mlpGetSampleNumClassMlpGetSampleNumClassMlp (Operator)

Name

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

Description

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

Execution Information

Parameters

MLPHandleMLPHandleMLPHandleMLPHandleMLPHandle (input_control)  class_mlp HClassMlp, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

MLP handle.

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

Number of stored training samples.

Result

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

Possible Predecessors

add_sample_class_mlpadd_sample_class_mlpAddSampleClassMlpAddSampleClassMlpAddSampleClassMlp, read_samples_class_mlpread_samples_class_mlpReadSamplesClassMlpReadSamplesClassMlpReadSamplesClassMlp

Possible Successors

get_sample_class_mlpget_sample_class_mlpGetSampleClassMlpGetSampleClassMlpGetSampleClassMlp

See also

create_class_mlpcreate_class_mlpCreateClassMlpCreateClassMlpCreateClassMlp

Module

Foundation