ClassesClasses | | Operators

clear_class_knnclear_class_knnClearClassKnnClearClassKnn (Operator)

Name

clear_class_knnclear_class_knnClearClassKnnClearClassKnn — Clear a k-NN classifier.

Signature

clear_class_knn( : : KNNHandle : )

Herror clear_class_knn(const Hlong KNNHandle)

Herror T_clear_class_knn(const Htuple KNNHandle)

void ClearClassKnn(const HTuple& KNNHandle)

static void HOperatorSet.ClearClassKnn(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

This operator modifies the state of the following input parameter:

The value of this parameter may not be shared across multiple threads without external synchronization.

Parameters

KNNHandleKNNHandleKNNHandleKNNHandleKNNHandle (input_control, state is modified)  class_knn HClassKnn, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

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


ClassesClasses | | Operators