get_support_vector_num_class_svm — Return the number of support vectors of a support vector machine.
get_support_vector_num_class_svm returns in NumSupportVectors the number of support vectors that are stored in the support vector machine (SVM) given by SVMHandle. get_support_vector_num_class_svm should be called before the labels of individual support vectors are read out with get_support_vector_class_svm, e.g., for visualizing which the training data become a SV (see get_support_vector_class_svm). The number of SVs in each classifier is listed in NumSVPerSVM. The reason that its sum differs from the Number obtained in NumSupportVectors is that SV evaluations are reused throughout different sub-classifiers. NumSVPerSVM provides the possibility for controlling the process of speeding up SVM classification time with the operator reduce_class_svm.
Total number of support vectors.
Number of SV of each sub-SVM.
If SVMHandle is valid the operator get_sample_num_class_svm returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.