ClassesClasses | | Operators

add_class_train_data_knnT_add_class_train_data_knnAddClassTrainDataKnnAddClassTrainDataKnn (Operator)

Name

add_class_train_data_knnT_add_class_train_data_knnAddClassTrainDataKnnAddClassTrainDataKnn — Add training data to a k-nearest neighbors (k-NN) classifier.

Signature

add_class_train_data_knn( : : KNNHandle, ClassTrainDataHandle : )

Herror T_add_class_train_data_knn(const Htuple KNNHandle, const Htuple ClassTrainDataHandle)

void AddClassTrainDataKnn(const HTuple& KNNHandle, const HTuple& ClassTrainDataHandle)

void HClassKnn::AddClassTrainDataKnn(const HClassTrainData& ClassTrainDataHandle) const

void HClassTrainData::AddClassTrainDataKnn(const HClassKnn& KNNHandle) const

static void HOperatorSet.AddClassTrainDataKnn(HTuple KNNHandle, HTuple classTrainDataHandle)

void HClassKnn.AddClassTrainDataKnn(HClassTrainData classTrainDataHandle)

void HClassTrainData.AddClassTrainDataKnn(HClassKnn KNNHandle)

Description

add_class_train_data_knnadd_class_train_data_knnAddClassTrainDataKnnAddClassTrainDataKnnAddClassTrainDataKnn adds the training data specified by ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandle to a k-nearest neighbors (k-NN) classifier specified by KNNHandleKNNHandleKNNHandleKNNHandleKNNHandle.

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

Handle of a k-NN which receives the training data.

ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandle (input_control)  class_train_data HClassTrainData, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Training data for a classifier.

Result

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

Possible Predecessors

create_class_knncreate_class_knnCreateClassKnnCreateClassKnnCreateClassKnn, create_class_train_datacreate_class_train_dataCreateClassTrainDataCreateClassTrainDataCreateClassTrainData

Possible Successors

get_sample_class_knnget_sample_class_knnGetSampleClassKnnGetSampleClassKnnGetSampleClassKnn

Alternatives

add_sample_class_knnadd_sample_class_knnAddSampleClassKnnAddSampleClassKnnAddSampleClassKnn

See also

create_class_knncreate_class_knnCreateClassKnnCreateClassKnnCreateClassKnn

Module

Foundation


ClassesClasses | | Operators