fit_target_prob_xgb fit the xgb target prob model

fit_target_prob_xgb(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.)