fit_target_prob_xgb.Rd
fit_target_prob_xgb fit the xgb target prob model
fit_target_prob_xgb(workflow, pars, data_split, data)
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 |
a list with the final random forest model and the modeling results (auc, acc, etc.)