Chances are that you have an old version of scikit-learn installed. As in the stackoverflow question, I would suggest what Kyle suggested and what solved the problem: check your install and uninstal / install a new version if needed.
Gaël On Sat, Feb 28, 2015 at 03:59:43PM +0100, shalu jhanwar wrote: > Hey Guys, > Though I have scikit learn installed, but I am unable to import this module: > from sklearn.learning_curve import learning_curve > ImportError: No module named learning_curve > I googled it and found that it has some incompatibility with python version: > http://stackoverflow.com/questions/25430384/ > import-sklearn-learning-curve-fails-in-python-3-3 > I'm wondering if there is any fix available, I can successfully import > learning_curve/ validation_curve? > thanks! > Shalu > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Scikit-learn-general mailing list > Scikit-learn-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general -- Gael Varoquaux Researcher, INRIA Parietal Laboratoire de Neuro-Imagerie Assistee par Ordinateur NeuroSpin/CEA Saclay , Bat 145, 91191 Gif-sur-Yvette France Phone: ++ 33-1-69-08-79-68 http://gael-varoquaux.info http://twitter.com/GaelVaroquaux ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general