fit_catch_prob_xgb.Rdfit_catch_prob_xgb fit the xgboost catch prob model
fit_catch_prob_xgb(workflow, pars, data_split, data, mod)
| 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 |
| mod | the name of the model ('a' for arrival, 't' for throw) |
a list with the final xgboost model and the modeling results (auc, acc, etc.)