yandex / rep

Machine Learning toolbox for Humans
http://yandex.github.io/rep/
Other
689 stars 144 forks source link

test_xgboost file is not running on windows 10 #75

Closed Sandy4321 closed 8 years ago

Sandy4321 commented 8 years ago

test_xgboost file is not running on windows 10 File "c:\Sander\my_code\rep-master\tests\test_xgboost.py", line 4, in from rep.estimators import XGBoostClassifier, XGBoostRegressor

ImportError: cannot import name XGBoostClassifier

when rep installatoin is ok but xgboost instal fails Microsoft Windows Version 10.0.10586 2015 Microsoft Corporation. All rights reserved.

c:\Sander>pip install rep --no-dependencies Collecting rep Downloading rep-0.6.5.tar.gz (72kB) 100% |################################| 81kB 511kB/s Building wheels for collected packages: rep Running setup.py bdist_wheel for rep ... done Stored in directory: C:\Users\Sander\AppData\Local\pip\Cache\wheels\db\ee\06\ac6e3f3ec208edaee29654f0b55ffaf2719a51de799c396b91 Successfully built rep Installing collected packages: rep Successfully installed rep-0.6.5 You are using pip version 8.1.0, however version 8.1.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

c:\Sander>pip install xgboost==0.4a30 Collecting xgboost==0.4a30 Downloading xgboost-0.4a30.tar.gz (753kB) 100% |################################| 757kB 553kB/s No files/directories in c:\users\sander\appdata\local\temp\pip-build-exobfm\xgboost\pip-egg-info (from PKG-INFO) You are using pip version 8.1.0, however version 8.1.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

c:\Sander>

arogozhnikov commented 8 years ago

Hi Sandy,

but xgboost instal fails

AFAIR XGBoost has serious problems with packaging on windows, and those are still not resolved - you need to compile it manually. This is an XGBoost issue, which is unrelated to REP (and we can't fix it).

Easiest way to get everything working on windows in Kitematic = docker for windows.

Sandy4321 commented 8 years ago

ok thanks

Sandy4321 commented 8 years ago

Kitematic = docker for windows. soem intro how to use this from 0 to works

jonas-eschle commented 8 years ago

I think your question has really nothing to do with this repository;) But anyway, here is a link to a good guide: https://docs.docker.com/kitematic/userguide/

Btw: Installation via pip is very easy too. Are you used to pip? Basically, just write "pip install rep". Finished. Not so difficult either;)

arogozhnikov commented 8 years ago

some instructions for kitematic are added to the documentation

http://yandex.github.io/rep/reproducibility.html