get_sample_num_class_svmT_get_sample_num_class_svmGetSampleNumClassSvmGetSampleNumClassSvm (Operator)
Name
get_sample_num_class_svmT_get_sample_num_class_svmGetSampleNumClassSvmGetSampleNumClassSvm
— Return the number of training samples stored in the training data of
a support vector machine.
Signature
Description
get_sample_num_class_svmget_sample_num_class_svmGetSampleNumClassSvmGetSampleNumClassSvmGetSampleNumClassSvm
returns in NumSamplesNumSamplesNumSamplesNumSamplesnumSamples
the
number of training samples that are stored in the support vector
machine (SVM) given by SVMHandleSVMHandleSVMHandleSVMHandleSVMHandle
.
get_sample_num_class_svmget_sample_num_class_svmGetSampleNumClassSvmGetSampleNumClassSvmGetSampleNumClassSvm
should be called before the
individual training samples are accessed with
get_sample_class_svmget_sample_class_svmGetSampleClassSvmGetSampleClassSvmGetSampleClassSvm
, e.g., for the purpose of reclassifying
the training data (see get_sample_class_svmget_sample_class_svmGetSampleClassSvmGetSampleClassSvmGetSampleClassSvm
).
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
SVMHandleSVMHandleSVMHandleSVMHandleSVMHandle
(input_control) class_svm →
HClassSvm, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
SVM handle.
NumSamplesNumSamplesNumSamplesNumSamplesnumSamples
(output_control) integer →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Number of stored training samples.
Result
If SVMHandleSVMHandleSVMHandleSVMHandleSVMHandle
is valid the operator
get_sample_num_class_svmget_sample_num_class_svmGetSampleNumClassSvmGetSampleNumClassSvmGetSampleNumClassSvm
returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
Possible Predecessors
add_sample_class_svmadd_sample_class_svmAddSampleClassSvmAddSampleClassSvmAddSampleClassSvm
,
read_samples_class_svmread_samples_class_svmReadSamplesClassSvmReadSamplesClassSvmReadSamplesClassSvm
Possible Successors
get_sample_class_svmget_sample_class_svmGetSampleClassSvmGetSampleClassSvmGetSampleClassSvm
See also
create_class_svmcreate_class_svmCreateClassSvmCreateClassSvmCreateClassSvm
Module
Foundation