Operator Reference

get_class_train_data_knnT_get_class_train_data_knnGetClassTrainDataKnnGetClassTrainDataKnnget_class_train_data_knn (Operator)

get_class_train_data_knnT_get_class_train_data_knnGetClassTrainDataKnnGetClassTrainDataKnnget_class_train_data_knn — Get the training data of a k-nearest neighbors (k-NN) classifier.

Signature

get_class_train_data_knn( : : KNNHandle : ClassTrainDataHandle)

Herror T_get_class_train_data_knn(const Htuple KNNHandle, Htuple* ClassTrainDataHandle)

void GetClassTrainDataKnn(const HTuple& KNNHandle, HTuple* ClassTrainDataHandle)

HClassTrainData HClassKnn::GetClassTrainDataKnn() const

void HClassTrainData::GetClassTrainDataKnn(const HClassKnn& KNNHandle)

static void HOperatorSet.GetClassTrainDataKnn(HTuple KNNHandle, out HTuple classTrainDataHandle)

HClassTrainData HClassKnn.GetClassTrainDataKnn()

void HClassTrainData.GetClassTrainDataKnn(HClassKnn KNNHandle)

def get_class_train_data_knn(knnhandle: HHandle) -> HHandle

Description

get_class_train_data_knnget_class_train_data_knnGetClassTrainDataKnnGetClassTrainDataKnnget_class_train_data_knn gets the training data of a k-nearest neighbors (k-NN) classifier and returns it in ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandleclass_train_data_handle.

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 returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.

Parameters

KNNHandleKNNHandleKNNHandleKNNHandleknnhandle (input_control)  class_knn HClassKnn, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the k-NN classifier that contains training data.

ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandleclass_train_data_handle (output_control)  class_train_data HClassTrainData, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the training data of the classifier.

Result

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

Possible Predecessors

add_sample_class_knnadd_sample_class_knnAddSampleClassKnnAddSampleClassKnnadd_sample_class_knn

Possible Successors

add_class_train_data_svmadd_class_train_data_svmAddClassTrainDataSvmAddClassTrainDataSvmadd_class_train_data_svm, add_class_train_data_gmmadd_class_train_data_gmmAddClassTrainDataGmmAddClassTrainDataGmmadd_class_train_data_gmm, add_class_train_data_knnadd_class_train_data_knnAddClassTrainDataKnnAddClassTrainDataKnnadd_class_train_data_knn

See also

create_class_train_datacreate_class_train_dataCreateClassTrainDataCreateClassTrainDatacreate_class_train_data

Module

Foundation