Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xgboost in advanced_requirements.txt unreliable #187

Closed
calz1 opened this issue Mar 29, 2017 · 2 comments
Closed

xgboost in advanced_requirements.txt unreliable #187

calz1 opened this issue Mar 29, 2017 · 2 comments

Comments

@calz1
Copy link
Contributor

calz1 commented Mar 29, 2017

I am partially to blame because I think I pointed out that xgboost was now in pip but there's some bad news: it appears the version in pip still suffers from a bug that some guy named @ClimbsRocks ran into last summer.

dmlc/xgboost#1238

In other words, I ran into that same ragged data problem when attempting to predict. After reading the thread, I was able to fix it relatively easily by installing XGBoost like described here but you may want to consider backing out the auto install to avoid other people logging XGBoost issues...

Edit: I realized I oversimplified the install to fix this. For Ubuntu, it was the link I said and then the steps farther down that page to install the python package. Together, it is:

git clone --recursive https://github.com/dmlc/xgboost cd xgboost; make -j4

cd python-package; sudo python setup.py install

@ClimbsRocks
Copy link
Owner

Drats- I'd forgotten how old that distribution was. I just recently cleaned that workaround out of the codebase as part of some simplification work. Good call on removing XGBoost from the advanced_requirements.txt file for now. Thanks for the continued input!

@calz1
Copy link
Contributor Author

calz1 commented Apr 4, 2017

I see this is gone in the latest version so I think it is moot.

@calz1 calz1 closed this as completed Apr 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants