clear_class_knnT_clear_class_knnClearClassKnnClearClassKnnclear_class_knn (Operator)

Name

clear_class_knnT_clear_class_knnClearClassKnnClearClassKnnclear_class_knn — Clear a k-NN classifier.

Signature

clear_class_knn( : : KNNHandle : )

Herror T_clear_class_knn(const Htuple KNNHandle)

void ClearClassKnn(const HTuple& KNNHandle)

void HClassKnn::ClearClassKnn() const

static void HOperatorSet.ClearClassKnn(HTuple KNNHandle)

void HClassKnn.ClearClassKnn()

def clear_class_knn(knnhandle: HHandle) -> None

Description

clear_class_knnclear_class_knnClearClassKnnClearClassKnnClearClassKnnclear_class_knn clears the k-NN classifiers given in KNNHandleKNNHandleKNNHandleKNNHandleKNNHandleknnhandle. After calling clear_class_knnclear_class_knnClearClassKnnClearClassKnnClearClassKnnclear_class_knn, KNNHandleKNNHandleKNNHandleKNNHandleKNNHandleknnhandle becomes invalid.

Execution Information

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

KNNHandleKNNHandleKNNHandleKNNHandleKNNHandleknnhandle (input_control, state is modified)  class_knn HClassKnn, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the k-NN classifier.

Result

If the parameters are valid, the operator clear_class_knnclear_class_knnClearClassKnnClearClassKnnClearClassKnnclear_class_knn returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

train_class_knntrain_class_knnTrainClassKnnTrainClassKnnTrainClassKnntrain_class_knn, read_class_knnread_class_knnReadClassKnnReadClassKnnReadClassKnnread_class_knn

See also

create_class_knncreate_class_knnCreateClassKnnCreateClassKnnCreateClassKnncreate_class_knn

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