tune_catch_prob_xgb tune the xgboost catch prob model

tune_catch_prob_xgb(
  data,
  mod = "",
  overnightmode = FALSE,
  overnightcores = NULL
)

Arguments

data

a full data frame to tune the model on

mod

'a' for arrival, 't' for throw

overnightmode

TRUE auto sets 4 cores

overnightcores

an integer for the number of cores to run on

Value

a list with the data, the data_split, the workflow, the best set of tuning parameters, and the tuning results