2012/7/2 Rupinder Paul <[email protected]>: > Hi, > > I just easy_install'ed sklearn -- everything went ok...ran tests > throught nose. So I am trying one of text classifications tutorials. > > I am in python command line mode..and when I write "from > sklearn.feature_extraction.text import RomanPreprocessor" ..I get an > error "ImportError: cannot import name RomanPreprocessor' > > What did I do wrong? ..Is my installation bad? > > any help with this would really great! thank you
The tutorial at scikit-learn.github.com/scikit-learn-tutorial is outdated. I still have branch with a start of merge into the main documentation here: https://github.com/ogrisel/scikit-learn/tree/sklearn-tutorial In the mean time refer to the stable documentation for the new text feature extraction API: http://scikit-learn.org/stable/modules/feature_extraction.html#text-feature-extraction -- Olivier http://twitter.com/ogrisel - http://github.com/ogrisel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
