[scikit-learn] Does sklearn contain xgboost?
Nicolas Hug
niourf at gmail.com
Tue Jan 8 21:03:01 EST 2019
XGBoost is a specific implementation of gradient boosting trees, so
strictly speaking scikit-learn cannot "contain" XGBoost. That being said:
- XGBoost has a scikit-learn compatible API:
https://xgboost.readthedocs.io/en/latest/python/python_api.html#module-xgboost.sklearn.
So does LightGBM, another fast implementation of gradient boosting trees.
- scikit-learn implements "vanilla" gradient boosting
https://scikit-learn.org/stable/modules/ensemble.html#gradient-boosting
- There's an open PR in scikit learn (still very WIP) that implements
the same kind of optimization that XGBoost and LightGBM use, which will
make GBDT faster https://github.com/scikit-learn/scikit-learn/pull/12807.
Nicolas
On 1/8/19 8:23 PM, lampahome wrote:
> As title
>
> Does sklearn contain xgboost to use?
>
> thanks
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20190108/cc29a9ce/attachment.html>
More information about the scikit-learn
mailing list