Operator Reference

add_class_train_data_svmT_add_class_train_data_svmAddClassTrainDataSvmAddClassTrainDataSvmadd_class_train_data_svm (Operator)

add_class_train_data_svmT_add_class_train_data_svmAddClassTrainDataSvmAddClassTrainDataSvmadd_class_train_data_svm — Add training data to a support vector machine (SVM).

Signature

add_class_train_data_svm( : : SVMHandle, ClassTrainDataHandle : )

Herror T_add_class_train_data_svm(const Htuple SVMHandle, const Htuple ClassTrainDataHandle)

void AddClassTrainDataSvm(const HTuple& SVMHandle, const HTuple& ClassTrainDataHandle)

void HClassSvm::AddClassTrainDataSvm(const HClassTrainData& ClassTrainDataHandle) const

void HClassTrainData::AddClassTrainDataSvm(const HClassSvm& SVMHandle) const

static void HOperatorSet.AddClassTrainDataSvm(HTuple SVMHandle, HTuple classTrainDataHandle)

void HClassSvm.AddClassTrainDataSvm(HClassTrainData classTrainDataHandle)

void HClassTrainData.AddClassTrainDataSvm(HClassSvm SVMHandle)

def add_class_train_data_svm(svmhandle: HHandle, class_train_data_handle: HHandle) -> None

Description

add_class_train_data_svmadd_class_train_data_svmAddClassTrainDataSvmAddClassTrainDataSvmadd_class_train_data_svm adds the training data specified by ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandleclass_train_data_handle to a support vector machine (SVM) specified by SVMHandleSVMHandleSVMHandleSVMHandlesvmhandle.

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

SVMHandleSVMHandleSVMHandleSVMHandlesvmhandle (input_control, state is modified)  class_svm HClassSvm, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of a SVM which receives the training data.

ClassTrainDataHandleClassTrainDataHandleClassTrainDataHandleclassTrainDataHandleclass_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_svmadd_class_train_data_svmAddClassTrainDataSvmAddClassTrainDataSvmadd_class_train_data_svm returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

create_class_svmcreate_class_svmCreateClassSvmCreateClassSvmcreate_class_svm, create_class_train_datacreate_class_train_dataCreateClassTrainDataCreateClassTrainDatacreate_class_train_data

Possible Successors

get_sample_class_svmget_sample_class_svmGetSampleClassSvmGetSampleClassSvmget_sample_class_svm

Alternatives

add_sample_class_svmadd_sample_class_svmAddSampleClassSvmAddSampleClassSvmadd_sample_class_svm

See also

create_class_svmcreate_class_svmCreateClassSvmCreateClassSvmcreate_class_svm

Module

Foundation