Define XGBoost Model Specification
define_xgboost_spec(task, train_data, label, tune = FALSE)
List containing the model specification (`model_spec`).
Character string specifying the task type: "classification" or "regression".
Data frame containing the training data.
Character string specifying the name of the target variable.
Logical indicating whether to use tuning parameters.