You are here: Start » Filter Reference » Data Classification » Support Vector Machines » SVM_ClassifyMultiple
Module: | FoundationPro |
---|
Classifies input points based on trained model.
Name | Type | Description | |
---|---|---|---|
inSvmModel | SvmModel | Input trained model | |
inVectorArray | RealArrayArray | Data vector array of unknown classes | |
outPredictions | IntegerArray | Predicted classes | |
outModelClasses | IntegerArray | All known model classes in order | |
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.
- SVM_Train – Trains an SVM model.
- SVM_ClassifySingle – Classifies input features based on a trained model.