fit_target_prob_rf fit the rf target prob model

fit_target_prob_rf(workflow, pars, data_split, data)

Arguments

workflow

a workflow object

pars

a tibble of the parameters (generally output from tune::select_best())

data_split

a data_split object

data

a full data frame to fit the model on

Value

a list with the final random forest model and the modeling results (auc, acc, etc.)