XGBoosting Home | About | Contact | Examples

XGBoost Default Parameters

At the time of writing, the default XGBoost parameters are defined in the C code.

When the Python API specifies that a parameter has a None value, the default value from the C code is used.

Tree Booster Defaults

Default parameter values for the tree booster are defined in the file xgboost/src/tree/param.h.

The relevant default parameters are:

Parameter aliases defined in this file include:

Linear Booster Defaults

Default parameter values for the linear booster are defined in the file xgboost/src/linear/param.h.

The relevant default parameters are:

Parameter aliases defined in this file include:

API Documentation

Default parameter values are also specified in the official API documentation.

The parameters and their defaults are as follows:



See Also