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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -