View source: R/model_predict_ml.R
model_predict_ml | R Documentation |
This function performs inference using a trained model
model_predict_ml(
model,
data,
formula,
caret_params,
cram_policy_handle = FALSE
)
model |
A trained model object returned by the 'fit_model_ml' function. |
data |
The dataset |
formula |
The formula |
caret_params |
The parameters of the caret model |
cram_policy_handle |
Internal use. Post-process predictions differently for cram policy use. Defaults to FALSE. |
Predictions of the model on the data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.