Operator Reference

clear_class_svmT_clear_class_svmClearClassSvmClearClassSvmclear_class_svm (Operator)

clear_class_svmT_clear_class_svmClearClassSvmClearClassSvmclear_class_svm — Clear a support vector machine.

Signature

clear_class_svm( : : SVMHandle : )

Herror T_clear_class_svm(const Htuple SVMHandle)

void ClearClassSvm(const HTuple& SVMHandle)

static void HClassSvm::ClearClassSvm(const HClassSvmArray& SVMHandle)

void HClassSvm::ClearClassSvm() const

static void HOperatorSet.ClearClassSvm(HTuple SVMHandle)

static void HClassSvm.ClearClassSvm(HClassSvm[] SVMHandle)

void HClassSvm.ClearClassSvm()

def clear_class_svm(svmhandle: MaybeSequence[HHandle]) -> None

Description

clear_class_svmclear_class_svmClearClassSvmClearClassSvmclear_class_svm clears the support vector machine (SVM) given by SVMHandleSVMHandleSVMHandleSVMHandlesvmhandle and frees all memory required for the SVM. After calling clear_class_svmclear_class_svmClearClassSvmClearClassSvmclear_class_svm, the SVM can no longer be used. The handle SVMHandleSVMHandleSVMHandleSVMHandlesvmhandle becomes invalid.

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(-array) HClassSvm, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)

SVM handle.

Result

If SVMHandleSVMHandleSVMHandleSVMHandlesvmhandle is valid the operator clear_class_svmclear_class_svmClearClassSvmClearClassSvmclear_class_svm returns the value 2 ( H_MSG_TRUE) . If necessary, an exception is raised.

Possible Predecessors

classify_class_svmclassify_class_svmClassifyClassSvmClassifyClassSvmclassify_class_svm

See also

create_class_svmcreate_class_svmCreateClassSvmCreateClassSvmcreate_class_svm, read_class_svmread_class_svmReadClassSvmReadClassSvmread_class_svm, write_class_svmwrite_class_svmWriteClassSvmWriteClassSvmwrite_class_svm, train_class_svmtrain_class_svmTrainClassSvmTrainClassSvmtrain_class_svm

Module

Foundation