get_sample_num_class_knn🔗
Short description🔗
get_sample_num_class_knn — Return the number of training samples stored in the training data of
a k-nearest neighbors (k-NN) classifier.
Signature🔗
get_sample_num_class_knn( class_knn KNNHandle, out integer NumSamples )
Description🔗
get_sample_num_class_knn returns in NumSamples the
number of training samples that are stored in the k-nearest neighbors
(k-NN) classifier given by KNNHandle.
get_sample_num_class_knn should be called before the
individual training samples are accessed with
get_sample_class_knn.
Execution information🔗
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🔗
KNNHandle (input_control) class_knn → (handle)
Handle of the k-NN classifier.
NumSamples (output_control) integer → (integer)
Number of stored training samples.
Result🔗
If KNNHandle is valid, the operator
get_sample_num_class_knn returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
Combinations with other operators🔗
Combinations
Possible predecessors
Possible successors
See also
Module🔗
Foundation