[Scikit-learn-general] 20 newsgroups classification

2013-07-26 Thread Harold Nguyen
Hi experts, I was going through the example here: http://scikit-learn.org/stable/auto_examples/document_classification_20newsgroups.html#example-document-classification-20newsgroups-py But when I run, I get the following error message: $ python document_classification_20newsgroups.py --top20

Re: [Scikit-learn-general] 20 newsgroups classification

2013-07-26 Thread Harold Nguyen
Hi again, After updating scikit-learn (I think I was running that script from the newest version of scikit-learn, while my installed version was older), I get the following error: $ python document_classification_20newsgroups.py Traceback (most recent call last): File

Re: [Scikit-learn-general] 20 newsgroups classification

2013-07-26 Thread Vlad Niculae
Hi Harold, Only the current development version, and the upcoming release, has, as of recently, support for Python 3. Even so, it won't be easy to support 3.2, we just aim for 3.3 at the moment. This being said, I have no idea what causes this specific error. That line seems unchanged in the

Re: [Scikit-learn-general] 20 newsgroups classification

2013-07-26 Thread Lars Buitinck
2013/7/27 Vlad Niculae zephy...@gmail.com: Only the current development version, and the upcoming release, has, as of recently, support for Python 3. Even so, it won't be easy to support 3.2, we just aim for 3.3 at the moment. This being said, I have no idea what causes this specific error.

Re: [Scikit-learn-general] 20 newsgroups classification

2013-07-26 Thread Harold Nguyen
Hi experts, Thank you very much for your quick reply on this. I encountered another error when going through the tutorial noted here: http://scikit-learn.github.io/scikit-learn-tutorial/working_with_text_data.html from sklearn.datasets import fetch_20newsgroups twenty_train =