model_predict_ml {cramR} | R Documentation |
Cram ML: Predict with the Specified Model
Description
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
[Package cramR version 0.1.0 Index]