Name
get_params_class_knnT_get_params_class_knnGetParamsClassKnnGetParamsClassKnn — Get parameters of a k-NN classification.
get_params_class_knnget_params_class_knnGetParamsClassKnnGetParamsClassKnnGetParamsClassKnn gets parameters of
the k-NN referred by KNNHandleKNNHandleKNNHandleKNNHandleKNNHandle. The possible entries in
GenParamNameGenParamNameGenParamNameGenParamNamegenParamName are:
- 'method'"method""method""method""method":
Retrieve the currently selected method
for determining the result of classify_class_knnclassify_class_knnClassifyClassKnnClassifyClassKnnClassifyClassKnn.
The result can be 'classes_distance'"classes_distance""classes_distance""classes_distance""classes_distance",
'classes_frequency'"classes_frequency""classes_frequency""classes_frequency""classes_frequency", 'classes_weighted_frequencies'"classes_weighted_frequencies""classes_weighted_frequencies""classes_weighted_frequencies""classes_weighted_frequencies"
or 'neighbors_distance'"neighbors_distance""neighbors_distance""neighbors_distance""neighbors_distance".
- 'k'"k""k""k""k":
The number of nearest neighbors that is considered
to determine the results.
- 'max_num_classes'"max_num_classes""max_num_classes""max_num_classes""max_num_classes":
The maximum number of classes that are
returned. This parameter is ignored in case the method
'neighbors_distance'"neighbors_distance""neighbors_distance""neighbors_distance""neighbors_distance" is selected.
- 'num_checks'"num_checks""num_checks""num_checks""num_checks":
Defines the maximum number of runs through
the trees.
- 'epsilon'"epsilon""epsilon""epsilon""epsilon":
A parameter to lower the accuracy in
the tree to gain speed.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Handle of the k-NN classifier.
Names of the parameters that can be read
from the k-NN classifier.
Default value:
['method','k']
["method","k"]
["method","k"]
["method","k"]
["method","k"]
List of values: 'epsilon'"epsilon""epsilon""epsilon""epsilon", 'k'"k""k""k""k", 'method'"method""method""method""method", 'num_checks'"num_checks""num_checks""num_checks""num_checks"
Values of the selected parameters.
If the parameters are valid, the operator get_params_class_knnget_params_class_knnGetParamsClassKnnGetParamsClassKnnGetParamsClassKnn
returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
train_class_knntrain_class_knnTrainClassKnnTrainClassKnnTrainClassKnn,
read_class_knnread_class_knnReadClassKnnReadClassKnnReadClassKnn
classify_class_knnclassify_class_knnClassifyClassKnnClassifyClassKnnClassifyClassKnn
create_class_knncreate_class_knnCreateClassKnnCreateClassKnnCreateClassKnn,
read_class_knnread_class_knnReadClassKnnReadClassKnnReadClassKnn
Marius Muja, David G. Lowe: “Fast Approximate Nearest Neighbors with
Automatic Algorithm Configuration”;
International Conference on Computer Vision Theory
and Applications (VISAPP 09); 2009.
Foundation