Main Content

Predict responses for training data using trained regression model

specifies whether to include interaction terms in computations. This syntax applies only to
generalized additive models.`yFit`

= resubPredict(`Mdl`

,'IncludeInteractions',`includeInteractions`

)

`resubPredict`

predicts responses according to the corresponding
`predict`

function of the object (`Mdl`

). For a
model-specific description, see the `predict`

function reference pages in
the following table.

Model | Regression Model Object (`Mdl` ) | `predict` Object Function |
---|---|---|

Generalized additive model | `RegressionGAM` | `predict` |

Neural network model | `RegressionNeuralNetwork` | `predict` |