evaluate_class_svmT_evaluate_class_svmEvaluateClassSvmEvaluateClassSvmevaluate_class_svm (Operator)

Name

evaluate_class_svmT_evaluate_class_svmEvaluateClassSvmEvaluateClassSvmevaluate_class_svm — Evaluate a feature vector by a support vector machine.

Signature

evaluate_class_svm( : : SVMHandle, Features : Result)

Herror T_evaluate_class_svm(const Htuple SVMHandle, const Htuple Features, Htuple* Result)

void EvaluateClassSvm(const HTuple& SVMHandle, const HTuple& Features, HTuple* Result)

HTuple HClassSvm::EvaluateClassSvm(const HTuple& Features) const

static void HOperatorSet.EvaluateClassSvm(HTuple SVMHandle, HTuple features, out HTuple result)

HTuple HClassSvm.EvaluateClassSvm(HTuple features)

def evaluate_class_svm(svmhandle: HHandle, features: Sequence[float]) -> Sequence[float]

def evaluate_class_svm_s(svmhandle: HHandle, features: Sequence[float]) -> float

Description

evaluate_class_svmevaluate_class_svmEvaluateClassSvmEvaluateClassSvmEvaluateClassSvmevaluate_class_svm calculates for a feature vector provided in FeaturesFeaturesFeaturesFeaturesfeaturesfeatures the ResultResultResultResultresultresult given a SVM in SVMHandleSVMHandleSVMHandleSVMHandleSVMHandlesvmhandle. The operator evaluate_class_svmevaluate_class_svmEvaluateClassSvmEvaluateClassSvmEvaluateClassSvmevaluate_class_svm can only be used if the SVM was created in the ModeModeModeModemodemode = 'novelty-detection'"novelty-detection""novelty-detection""novelty-detection""novelty-detection""novelty-detection". If the feature vector lies in the class, a ResultResultResultResultresultresult value bigger 1.0 is returned. If the feature vector lies outside the class boundary, e.g., is an outlier, a value smaller 1.0 is returned.

Execution Information

Parameters

SVMHandleSVMHandleSVMHandleSVMHandleSVMHandlesvmhandle (input_control)  class_svm HClassSvm, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

SVM handle.

FeaturesFeaturesFeaturesFeaturesfeaturesfeatures (input_control)  real-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Feature vector.

ResultResultResultResultresultresult (output_control)  real(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Result of evaluating the feature vector with the SVM.

Result

If the parameters are valid the operator evaluate_class_svmevaluate_class_svmEvaluateClassSvmEvaluateClassSvmEvaluateClassSvmevaluate_class_svm returns the value TRUE. If necessary, an exception is raised.

Possible Predecessors

train_class_svmtrain_class_svmTrainClassSvmTrainClassSvmTrainClassSvmtrain_class_svm, read_class_svmread_class_svmReadClassSvmReadClassSvmReadClassSvmread_class_svm

See also

create_class_svmcreate_class_svmCreateClassSvmCreateClassSvmCreateClassSvmcreate_class_svm

Module

Foundation