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_svmEvaluateClassSvmEvaluateClassSvmevaluate_class_svm
calculates for a feature vector
provided in FeaturesFeaturesFeaturesfeaturesfeatures
the ResultResultResultresultresult
given
a SVM in SVMHandleSVMHandleSVMHandleSVMHandlesvmhandle
. The operator evaluate_class_svmevaluate_class_svmEvaluateClassSvmEvaluateClassSvmevaluate_class_svm
can only be used if the SVM was created in the ModeModeModemodemode
=
'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
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
SVMHandleSVMHandleSVMHandleSVMHandlesvmhandle
(input_control) class_svm →
HClassSvm, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
SVM handle.
FeaturesFeaturesFeaturesfeaturesfeatures
(input_control) real-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Feature vector.
ResultResultResultresultresult
(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_svmEvaluateClassSvmEvaluateClassSvmevaluate_class_svm
returns the value 2 (
H_MSG_TRUE)
. If necessary, an exception is
raised.
Possible Predecessors
train_class_svmtrain_class_svmTrainClassSvmTrainClassSvmtrain_class_svm
,
read_class_svmread_class_svmReadClassSvmReadClassSvmread_class_svm
See also
create_class_svmcreate_class_svmCreateClassSvmCreateClassSvmcreate_class_svm
Module
Foundation