model_predict_ml: Cram ML: Predict with the Specified Model

View source: R/model_predict_ml.R

model_predict_mlR 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


cramR documentation built on Aug. 25, 2025, 1:12 a.m.