XGBoost 算法库学习

1 在学习XGBoost之前

1.1 xgboost库与XGB的sklearn API

陈天奇创造了XGBoost算法后,很快和一群机器学习爱好者建立了专门调用XGBoost库,名为xgboost。xgboost是一个独立的、开源的,并且专门提供梯度提升树以及XGBoost算法应用的算法库。它和sklearn类似,有一个详细的官方网站可以提供学习资料,并且可以与C、Python、R、Julia等语言连用,但需要单独安装和下载。
xgboost documents:https://xgboost.readthedocs.io/en/latest/index.html
本文基于Pythonl来运行。xgboost库要求必须提供适合的Scipy环境。接下来提供在windows中使用pip安装xgboost的代码:

pip install xgboost  #安装xgboost库
pip install --upgrade xgboost   #更新xgboost库

相关文章:
【解决python,xgboost问题】XGBoostError: sklearn needs to be installed in order to use this module
sklearn与XGBoost
xgboost官方文档

为者常成,行者常至