cross validation - Scikit Learn import error: 'cross_val_predict' is not defined -
cross validation - Scikit Learn import error: 'cross_val_predict' is not defined -
i trying run simple codes of scikit-learn in python, , while executing this, encountered error:
from sklearn.cross_validation import cross_val_predict
traceback (most recent phone call last): file "", line 1, in sklearn.cross_validation import cross_val_predict importerror: cannot import name cross_val_predict
i have downloaded scikit larn page: http://sourceforge.net/projects/scikit-learn/?source=typ_redirect , other modules sklearn.linear_model works well. seems can import module cross_validation.. cannot understand!
yes ! seems works ! in fact, instead of using .exe files downloaded net (which turned out perhaps incompatible), successed install many modules standard "pip install". thing not utilize "pip install" bundle "scipy", had replace .exe file. give thanks help !
scikit-learn cross-validation
Comments
Post a Comment