get_class_train_data_knnT_get_class_train_data_knnGetClassTrainDataKnnGetClassTrainDataKnnget_class_train_data_knn (Operator)
Name
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
def get_class_train_data_knn(knnhandle: HHandle) -> HHandle
Description
get_class_train_data_knnget_class_train_data_knnGetClassTrainDataKnnGetClassTrainDataKnnGetClassTrainDataKnnget_class_train_data_knn
gets the training data of a
k-nearest neighbors (k-NN) classifier and returns it in
ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandleclass_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
KNNHandleKNNHandleKNNHandleKNNHandleKNNHandleknnhandle
(input_control) class_knn →
HClassKnn, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the k-NN classifier
that contains training data.
ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandleclass_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_knnGetClassTrainDataKnnGetClassTrainDataKnnGetClassTrainDataKnnget_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_knnAddSampleClassKnnAddSampleClassKnnAddSampleClassKnnadd_sample_class_knn
Possible Successors
add_class_train_data_svmadd_class_train_data_svmAddClassTrainDataSvmAddClassTrainDataSvmAddClassTrainDataSvmadd_class_train_data_svm
,
add_class_train_data_gmmadd_class_train_data_gmmAddClassTrainDataGmmAddClassTrainDataGmmAddClassTrainDataGmmadd_class_train_data_gmm
,
add_class_train_data_knnadd_class_train_data_knnAddClassTrainDataKnnAddClassTrainDataKnnAddClassTrainDataKnnadd_class_train_data_knn
See also
create_class_train_datacreate_class_train_dataCreateClassTrainDataCreateClassTrainDataCreateClassTrainDatacreate_class_train_data
Module
Foundation