clear_class_knnT_clear_class_knnClearClassKnnClearClassKnn (Operator)
Name
clear_class_knnT_clear_class_knnClearClassKnnClearClassKnn
— Clear a k-NN classifier.
Signature
Herror T_clear_class_knn(const Htuple KNNHandle)
Description
clear_class_knnclear_class_knnClearClassKnnClearClassKnnClearClassKnn
clears the k-NN classifiers given in
KNNHandleKNNHandleKNNHandleKNNHandleKNNHandle
. After calling
clear_class_knnclear_class_knnClearClassKnnClearClassKnnClearClassKnn
, KNNHandleKNNHandleKNNHandleKNNHandleKNNHandle
becomes invalid.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
This operator modifies the state of the following input parameter:
During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.
Parameters
KNNHandleKNNHandleKNNHandleKNNHandleKNNHandle
(input_control, state is modified) class_knn →
HClassKnn, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the k-NN classifier.
Result
If the parameters are valid, the operator clear_class_knnclear_class_knnClearClassKnnClearClassKnnClearClassKnn
returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
Possible Predecessors
train_class_knntrain_class_knnTrainClassKnnTrainClassKnnTrainClassKnn
,
read_class_knnread_class_knnReadClassKnnReadClassKnnReadClassKnn
See also
create_class_knncreate_class_knnCreateClassKnnCreateClassKnnCreateClassKnn
References
Marius Muja, David G. Lowe: “Fast Approximate Nearest Neighbors with
Automatic Algorithm Configuration”;
International Conference on Computer Vision Theory
and Applications (VISAPP 09); 2009.
Module
Foundation