This function performs inference using a trained model
Usage
model_predict_ml(
model,
data,
formula,
caret_params,
cram_policy_handle = FALSE
)
Arguments
- 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.
Value
Predictions of the model on the data