ClassesClasses | | Operators

get_class_train_data_knnT_get_class_train_data_knnGetClassTrainDataKnnGetClassTrainDataKnn (Operator)

Name

get_class_train_data_knnT_get_class_train_data_knnGetClassTrainDataKnnGetClassTrainDataKnn — 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)

Description

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

Execution Information

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, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

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

ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandle (output_control)  class_train_data HClassTrainData, HTupleHTupleHtuple (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_knnGetClassTrainDataKnnGetClassTrainDataKnnGetClassTrainDataKnn returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

add_sample_class_knnadd_sample_class_knnAddSampleClassKnnAddSampleClassKnnAddSampleClassKnn

Possible Successors

add_class_train_data_svmadd_class_train_data_svmAddClassTrainDataSvmAddClassTrainDataSvmAddClassTrainDataSvm, add_class_train_data_gmmadd_class_train_data_gmmAddClassTrainDataGmmAddClassTrainDataGmmAddClassTrainDataGmm, add_class_train_data_knnadd_class_train_data_knnAddClassTrainDataKnnAddClassTrainDataKnnAddClassTrainDataKnn

See also

create_class_train_datacreate_class_train_dataCreateClassTrainDataCreateClassTrainDataCreateClassTrainData

Module

Foundation


ClassesClasses | | Operators