1、安装xgb
env CC=/usr/local/Cellar/gcc@5/5.4.0_1/bin/gcc-5 CXX=/usr/local/Cellar/gcc@5/5.4.0_1/bin/g++-5 pip install xgboost
注意gcc版本
2、安装lightgbm
env CC=/usr/local/Cellar/gcc@5/5.4.0_1/bin/gcc-5 CXX=/usr/local/Cellar/gcc@5/5.4.0_1/bin/g++-5 pip install lightgbm
参:http://blog.csdn.net/luoyexuge/article/details/72956491
3、pandas
http://bluewhale.cc/2016-08-06/use-pandas-filter-and-sort.html
4、xgb
http://www.52cs.org/?p=429
5、lightgbm使用
https://lightgbm.readthedocs.io/en/latest/Python-Intro.html#install
网友评论