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
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
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
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 2 (H_MSG_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