Fix #3730: scikit-learn 0.20 compatibility fix (#3731)

* Fix #3730: scikit-learn 0.20 compatibility fix

sklearn.cross_validation has been removed from scikit-learn 0.20,
so replace it with sklearn.model_selection

* Display test names for Python tests for clarity
This commit is contained in:
Philip Hyunsu Cho
2018-09-27 15:03:05 -07:00
committed by Philip Cho
parent b1233ef2ae
commit bc35b8e97b
4 changed files with 28 additions and 37 deletions

View File

@@ -3,6 +3,6 @@
cd python-package
python setup.py install --user
cd ..
python -m nose --attr='!slow' tests/python-gpu/
python -m nose -v --attr='!slow' tests/python-gpu/
./testxgboost