add_class_train_data_knnT_add_class_train_data_knnAddClassTrainDataKnnAddClassTrainDataKnnadd_class_train_data_knn (Operator)
Name
add_class_train_data_knnT_add_class_train_data_knnAddClassTrainDataKnnAddClassTrainDataKnnadd_class_train_data_knn
— Add training data to a k-nearest neighbors (k-NN) classifier.
Signature
Description
add_class_train_data_knnadd_class_train_data_knnAddClassTrainDataKnnAddClassTrainDataKnnAddClassTrainDataKnnadd_class_train_data_knn
adds the training data specified by
ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandleclass_train_data_handle
to a k-nearest neighbors (k-NN) classifier
specified by KNNHandleKNNHandleKNNHandleKNNHandleKNNHandleknnhandle
.
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
KNNHandleKNNHandleKNNHandleKNNHandleKNNHandleknnhandle
(input_control, state is modified) class_knn →
HClassKnn, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of a k-NN which receives the
training data.
ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandleclass_train_data_handle
(input_control) class_train_data →
HClassTrainData, HTupleHHandleHTupleHtuple (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_knnAddClassTrainDataKnnAddClassTrainDataKnnAddClassTrainDataKnnadd_class_train_data_knn
returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
Possible Predecessors
create_class_knncreate_class_knnCreateClassKnnCreateClassKnnCreateClassKnncreate_class_knn
,
create_class_train_datacreate_class_train_dataCreateClassTrainDataCreateClassTrainDataCreateClassTrainDatacreate_class_train_data
Possible Successors
get_sample_class_knnget_sample_class_knnGetSampleClassKnnGetSampleClassKnnGetSampleClassKnnget_sample_class_knn
Alternatives
add_sample_class_knnadd_sample_class_knnAddSampleClassKnnAddSampleClassKnnAddSampleClassKnnadd_sample_class_knn
See also
create_class_knncreate_class_knnCreateClassKnnCreateClassKnnCreateClassKnncreate_class_knn
Module
Foundation