resubPredict
Classify training data using trained classifier
Syntax
Description
[
specifies whether to include interaction terms in computations. This syntax applies only to generalized additive models.label
,Score
] = resubPredict(Mdl
,'IncludeInteractions',includeInteractions
)
Examples
Input Arguments
Output Arguments
Algorithms
resubPredict
computes predictions according to the correspondingpredict
function of the object (Mdl
). For a model-specific description, see thepredict
function reference pages in the following table.
Model | Classification Model Object (Mdl ) |
predict Object Function |
---|---|---|
Generalized additive model | ClassificationGAM |
predict |
k-nearest neighbor model | ClassificationKNN |
predict |
Naive Bayes model | ClassificationNaiveBayes |
predict |
Neural network model | ClassificationNeuralNetwork |
predict |
万博1manbetx看到下面成了一个支持向量机和二进制classification | ClassificationSVM |
predict |