热线电话:13121318867

登录
2020-04-07 阅读量: 699
如何安装xgboost库

#windows

pip install --user xgboost #安装xgboost库

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

#MAC

brew install gcc@7

pip3 install xgboost

安装完毕之后,我们就能够使用这个库中所带的XGB相关的类了。

import xgboost as xgb

62.4585
2
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子