train_xgboost
def train_xgboost(config, budget, X, y, seed=None)
#
Train an XGBoost model on the given data.
PARAMETER | DESCRIPTION |
---|---|
config |
The configuration to use for the XGBoost model
TYPE:
|
budget |
The number of estimators to use for the XGBoost model
TYPE:
|
X |
The data to train on
TYPE:
|
y |
The target to train on
TYPE:
|
seed |
The seed to use for the XGBoost model
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
XGBRegressor
|
The trained XGBoost model |