evaluate_class_svmT_evaluate_class_svmEvaluateClassSvmEvaluateClassSvm (Operator)

Name

evaluate_class_svmT_evaluate_class_svmEvaluateClassSvmEvaluateClassSvm — 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)

Description

evaluate_class_svmevaluate_class_svmEvaluateClassSvmEvaluateClassSvmEvaluateClassSvm calculates for a feature vector provided in FeaturesFeaturesFeaturesFeaturesfeatures the ResultResultResultResultresult given a SVM in SVMHandleSVMHandleSVMHandleSVMHandleSVMHandle. The operator evaluate_class_svmevaluate_class_svmEvaluateClassSvmEvaluateClassSvmEvaluateClassSvm can only be used if the SVM was created in the Mode = 'novelty-detection'"novelty-detection""novelty-detection""novelty-detection""novelty-detection". If the feature vector lies in the class, a ResultResultResultResultresult 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

SVMHandleSVMHandleSVMHandleSVMHandleSVMHandle (input_control)  class_svm HClassSvm, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

SVM handle.

FeaturesFeaturesFeaturesFeaturesfeatures (input_control)  real-array HTupleHTupleHtuple (real) (double) (double) (double)

Feature vector.

ResultResultResultResultresult (output_control)  real(-array) HTupleHTupleHtuple (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_svmEvaluateClassSvmEvaluateClassSvmEvaluateClassSvm returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

train_class_svmtrain_class_svmTrainClassSvmTrainClassSvmTrainClassSvm, read_class_svmread_class_svmReadClassSvmReadClassSvmReadClassSvm

See also

create_class_svmcreate_class_svmCreateClassSvmCreateClassSvmCreateClassSvm

Module

Foundation