Python module installation (xgboost)

Source: Internet
Author: User
Tags file url xgboost

Xgboost Module Installation

1. Download Xgboost source url:https://github.com/dmlc/xgboost/archive/master.zip

cut the compression package to the python3\scripts ask price clip for decompression (Python modules are in this folder)

The extracted folders are as follows: Xgboost-master > Python-package > Xgboost (Confirm that the path can be found)

2. Download the latest DLL file Url:http://www.picnet.com.au/blogs/guido/2016/09/22/xgboost-windows-x64-binaries-for-download

Select x64 under not gpu-enabled--xgboost.dll

3. Place the downloaded DLL file in the following folder:

 Python3\scripts\xgboost-master\python-package\xgboost

4. Go to the folder Python3\scripts\xgboost-master\python-package and enter the following command:

python setup.py Install

Installation is complete!

5. Enter Python3 environment, enter import xgboost (without error, module installation is successful)

Python module installation (xgboost)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.