How to install XGBoost in Python

In this article, we will see how to install XGBoost in Python in a Windows system.
XGBoost is optimized distributes gradient boosting library designed to be highly efficient, flexible, and portable. It implements machine learning algorithms under the Gradient Boosting framework.
Follow the below steps for installing XGBoost in windows:
- Download the appropriate .whl file for your environment from here.
- Open your command prompt and cd into the downloaded folder.
- Now use the pip install command to the downloaded .whl file like so:
pip install xgboost-0.6-cp36-cp36m-win_amd64.whl

Now you’ve successfully installed XGBoost in your windows system
Make sure you download the correct .whl for you version, otherwise this method won’t work.
Subscribe
Login
Please login to comment
0 Discussion