Many of the online Windows Python installation xgboost are very simple steps that are nothing more than a compilation of visual studio2013 above version, installed. But now that the latest xgboost has removed the C + + engineering files, find the old version of the installation tutorials that are also installed in the 64-bit Python version of Xgboost. Since I have installed many components in my python32 bit, it is too cumbersome to change to 64 bit. Search for a moment to complete the following tutorials.
Prerequisite: Python has installed scipy numpy
1, download the old version of Xgboost
Two URLs are available to prevent one from failing.
http://download.csdn.net/detail/u010111016/9465560 This is a file on the CSDN, it is shared by the reference author, it takes 1 points, recommended to download. If no points can be downloaded I share to Baidu network disk.
Https://pan.baidu.com/s/1jIg4nki
2. Download and install Visual studio2013
3, open the extracted xgboost-master\xgboost-master\windows, open the. sln project file with vs2013,
Focus on the generation of select Win32, rebuild the solution, generate a lot of errors, but do not care, will still be generated in the Windows\debug directory dependent files Xgboost_wrapper.dll
4. Copy the Xgboost_wrapper.dll file to the Python-package/xgboost directory and open the Python-package,python setup.py install with cmd
Can.
5, verify: Import xgboost as XGB can be used without errors.
Latest Xgboost Python32 bit under installation xgboost