Skip to content

Commit

Permalink
Merge pull request #662 from weixuanfu/xgboost0.7_install_doc
Browse files Browse the repository at this point in the history
Update installation of the lastest version (0.7) of  xgboost
  • Loading branch information
weixuanfu authored Feb 15, 2018
2 parents 7600d87 + 3b48496 commit 2ab5e05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ci/.travis_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@ conda update --yes conda
# provided versions
if [[ "$LATEST" == "true" ]]; then
conda create -n testenv --yes python=$PYTHON_VERSION pip nose \
numpy scipy scikit-learn cython py-xgboost pandas
numpy scipy scikit-learn cython pandas
else
conda create -n testenv --yes python=$PYTHON_VERSION pip nose \
numpy=$NUMPY_VERSION scipy=$SCIPY_VERSION \
scikit-learn=$SKLEARN_VERSION \
py-xgboost=$XGBOOST_VERSION \
cython \
pandas
fi
Expand All @@ -54,6 +53,7 @@ fi
pip install update_checker
pip install tqdm
pip install stopit
pip install xgboost

if [[ "$COVERAGE" == "true" ]]; then
pip install coverage coveralls
Expand Down
6 changes: 3 additions & 3 deletions docs_sources/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ pip install deap update_checker tqdm stopit
```Shell
# For Python version <=3.3
pip install pywin32
# For Any python version
# For any python version
conda install pywin32
```

**Optionally**, you can install [XGBoost](https://github.com/dmlc/xgboost) if you would like TPOT to use the eXtreme Gradient Boosting models. XGBoost is entirely optional, and TPOT will still function normally without XGBoost if you do not have it installed.
**Optionally**, you can install [XGBoost](https://github.com/dmlc/xgboost) if you would like TPOT to use the eXtreme Gradient Boosting models. XGBoost is entirely optional, and TPOT will still function normally without XGBoost if you do not have it installed. **Windows users: pip installation may not work on some Windows environments, and it may cause unexpected errors.**

```Shell
conda install py-xgboost
pip install xgboost
```

If you have issues installing XGBoost, check the [XGBoost installation documentation](http://xgboost.readthedocs.io/en/latest/build.html).
Expand Down

0 comments on commit 2ab5e05

Please sign in to comment.