Back to FabImage Studio website

You are here: Start » Filter Reference » Data Classification » Support Vector Machines » SVM_ClassifyMultiple

SVM_ClassifyMultiple


Module: FoundationPro

Classifies input points based on trained model.

Name Type Description
Input value inSvmModel SvmModel Input trained model
Input value inVectorArray RealArrayArray Data vector array of unknown classes
Output value outPredictions IntegerArray Predicted classes
Output value outModelClasses IntegerArray All known model classes in order
Output value outClassProbabilities RealArrayArray For each data vector the probability of belonging to each class

Description

The operation predicts classes for the given data points. It takes an array of data vectors (inVectorArray) as an argument. Each vector has to be of the same size as vectors used for training the model. The operation outputs predicted class (outPredictions) for each data vector.
outModelClasses are all class labels encountered during training.
outClassProbabilities provides, for each vector, estimated probability of this vector belonging to each class. Precisely, in each array the value under index i denotes probability of given vector belonging to the class outModelClasses[i].

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Empty vector array in SVM_ClassifyMultiple.
DomainError Incorrect vector size in SVM_Classify
DomainError Incorrect, uninitialized or not trained SvmModel in SVM_ClassifyMultiple.

Complexity Level

This filter is available on Expert Complexity Level.

Filter Group

This filter is member of SVM_Classify filter group.

See Also

  • SVM_Init – Initializes an SVM model.