机器学习sklearn(87):算法实例(44)分类(23)XGBoost(一)概述

1 机器学习竞赛的胜利女神

 

 

2 xgboost库与XGB的sklearn API

#windows
pip install xgboost #安装xgboost库
pip install --upgrade xgboost #更新xgboost库
#MAC
brew install gcc@7
pip3 install xgboost
安装完毕之后,我们就能够使用这个库中所带的XGB相关的类了。
import xgboost as xgb

 

 

3 XGBoost的三大板块

 

 

 

posted @ 2021-07-03 22:56  秋华  阅读(200)  评论(0)    收藏  举报