paypal / autosklearn-zeroconf

autosklearn-zeroconf is a fully automated binary classifier. It is based on the AutoML challenge winner auto-sklearn. Give it a dataset with known outcomes (labels) and it returns a list of predicted outcomes for your new data. It even estimates the precision for you! The engine is tuning massively parallel ensemble of machine learning pipelines for best precision/recall.
BSD 3-Clause "New" or "Revised" License
171 stars 39 forks source link

DeprecationWarning sklearn.cross_validation.train_test_split #7

Closed Motorrat closed 7 years ago

Motorrat commented 7 years ago

https://github.com/paypal/autosklearn-zeroconf/blob/e251c9699dae804a52a2381c702cfc2dd4988b80/zeroconf.py#L19

lib/python3.5/site-packages/sklearn/cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20. "This module will be removed in 0.20.", DeprecationWarning)

Motorrat commented 7 years ago

new home for this module is here http://scikit-learn.org/stable/modules/generated/sklearn.model_selection.train_test_split.html

Motorrat commented 7 years ago

fixed by replacing cross_validation with model_selection