get_sample_num_class_svm — Return the number of training samples stored in the training data of a support vector machine.
get_sample_num_class_svm returns in NumSamples the number of training samples that are stored in the support vector machine (SVM) given by SVMHandle. get_sample_num_class_svm should be called before the individual training samples are accessed with get_sample_class_svm, e.g., for the purpose of reclassifying the training data (see get_sample_class_svm).
Number of stored training samples.
If SVMHandle is valid the operator get_sample_num_class_svm returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.