Tune XGBoost hyperparameters
tl_tune_xgboost(
data,
formula,
is_classification = FALSE,
param_grid = NULL,
cv_folds = 5,
early_stopping_rounds = 10,
verbose = TRUE,
...
)A list with the best model and tuning results
A data frame containing the training data
A formula specifying the model
Logical indicating if this is a classification problem
Named list of parameter values to try
Number of cross-validation folds (default: 5)
Early stopping rounds (default: 10)
Logical indicating whether to print progress (default: TRUE)
Additional arguments