XGBRFRegressor - support or deprecate early stopping please
- Dominant language
- C++
- Stars
- 28.8k
- Forks
- 8.9k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 54
Description
In the python scikit-learn interface to XGBoost, we have XGBRFRegressor. When fitting one of these, it is possible to specify all the parameters relating to early stopping:
- eval_set
- eval_metric
- early_stopping_rounds
- sample_weight_eval_set
- base_margin_eval_set
However, because `num_boost_round` is overridden to 1 for XGBRFRegressor, none of these actually do anything very useful, and the lack of any warning message when attempting to use them can be a bit confusing. It would be nice if we could either:
- Grow trees one at a time (without gradient boosting) and apply early stopping on that basis, or
- Deprecate these parameters for XGBRFRegressor.fit() to make people aware that this functionality is not supported, and maybe also make this point a bit clearer in the docs.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.