predict
Syntax
Description
specifies whether to perform computations in parallel.labels = predict(mdl,X,UseParallel=UseParallel)
[ also returns a matrix of classification scores
indicating the likelihood that a label comes from a particular class, using any of the input
argument combinations in the previous syntaxes. For each observation in
labels,scores]
= predict(___)X, the predicted class label corresponds to the maximum score among all
classes.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2026a
See Also
CompactClassificationXGBoost | importModelFromXGBoost | loss | margin | edge