在Windows下安装LightGBM的Python包
来源:互联网 发布:mac 不产生.ds store 编辑:程序博客网 时间:2024/06/05 04:15
LightGBM是微软旗下DMTK推出的Gradient Boosting框架,因为其快速高效,以后或许会成为数据挖掘竞赛中的又一个大杀器。
1.下载源代码
git clone --recursive https://github.com/Microsoft/LightGBM
2.编译DLL
进入
LightGBM
目录,用VS2013(或者更高的版本)打开windows/LightGBM.sln
,选择DLL和x64,按Ctrl+Shift+B
进行编译,dll文件就会在windows/x64/DLL/
目录里
3.安装Python包
进入目录
python-package
执行命令
python setup.py install
4.测试一下
进入
examples\python-guide
执行样例
python .\simple_example.py
如果没有报错,那就说明安装成功了
参考
https://github.com/Microsoft/LightGBM/wiki/Installation-Guide
https://github.com/Microsoft/LightGBM/blob/master/python-package/README.rst
0 0
- 在Windows下安装LightGBM的Python包
- windows下安装LightGBM
- Windows下如何安装LightGBM
- 在windows下如何安装lxml的python包
- 微软LightGBM Windows下Python安装:ImportError: cannot import name NUMPY_MKL
- windows Anaconda lightgbm 安装
- python安装LightGBM
- Windows下 Python 安装包的配置
- Windows下 Python 安装包的配置
- Windows下 Python 安装包的配置
- Windows下 Python 安装包的配置
- Windows下 Python 安装包的配置
- windows下 Python 安装包的配置
- Windows下 Python 安装包的配置
- Windows下Python包的pip安装
- windows下安装xgboost的python包
- windows下安装xgboost的python包
- Linux 下安装LightGBM
- RxJava&Retrofit错误预处理
- Socket和ServerSocket学习笔记
- iOS-申请邓白氏编码的超详细流程介绍
- 根据结点获取xml文件中的部分数据
- 个人笔记
- 在Windows下安装LightGBM的Python包
- opencv调用笔记本摄像头程序
- mac安装beanstalkd
- jQuery获取选中单选框的下标,单选框的不可用
- Glide简单使用(二)
- 自定义动态loading界面——仿饿了么动态加载
- VirturalBox中windows和ubuntu共享文件夹
- js处理日期
- jsp分页标签pg:pager标签运用