Skip to content

clear_class_knnClearClassKnnClearClassKnnclear_class_knnT_clear_class_knnπŸ”—

Short descriptionπŸ”—

clear_class_knnClearClassKnnClearClassKnnclear_class_knnT_clear_class_knn β€” Clear a k-NN classifier.

SignatureπŸ”—

clear_class_knn( class_knn KNNHandle )void ClearClassKnn( const HTuple& KNNHandle )static void HOperatorSet.ClearClassKnn( HTuple KNNHandle )def clear_class_knn( knnhandle: HHandle ) -> None

Herror T_clear_class_knn( const Htuple KNNHandle )

void HClassKnn::ClearClassKnn( ) const

void HClassKnn.ClearClassKnn( )

DescriptionπŸ”—

clear_class_knnClearClassKnn clears the k-NN classifiers given in KNNHandleKNNHandleknnhandle. After calling clear_class_knnClearClassKnn, KNNHandleKNNHandleknnhandle becomes invalid.

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.

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πŸ”—

KNNHandleKNNHandleknnhandle (input_control, state is modified) class_knn β†’ (handle)HTuple (HHandle)HClassKnn, HTuple (IntPtr)HHandleHtuple (handle)

Handle of the k-NN classifier.

ResultπŸ”—

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

Combinations with other operatorsπŸ”—

Combinations

Possible predecessors

train_class_knnTrainClassKnn, read_class_knnReadClassKnn

See also

create_class_knnCreateClassKnn

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