What is the difference between num_boost_round and n_estimators

Yes they are the same, both referring to the same parameter (see the docs here, or the github issue).

The reason of the different name is because xgb.XGBRegressor is an implementation of the scikit-learn API; and scikit-learn conventionally uses n_estimators to refer to the number of boosting stages (for example the GradientBoostingClassifier)

Leave a Comment

error code: 521