Re: [Scikit-learn-general] error using CountVectorizer with python 2.6.1

2013-09-28 Thread Andre
This is an error on collections defaultdict in Python 2.6.1 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced prof

Re: [Scikit-learn-general] error using CountVectorizer with python 2.6.1

2013-09-26 Thread Lars Buitinck
2013/9/26 Olivier Grisel : > I have no problem with 2.6.7: I tried with 2.6.1, 2.6.6 and 2.6.8. Only the first has a problem. As I already said on SO, this is probably a bug in Python 2.6.1, but it should be easy to fix: just construct the defaultdict from some callable, then reset its default_fac

Re: [Scikit-learn-general] error using CountVectorizer with python 2.6.1

2013-09-26 Thread Olivier Grisel
2013/9/16 Akhil Shah : > Hi, > I've noticed that I get an error using CountVectorizer (or any class that > uses fit_transform) in python 2.6.1 with an unspecified vocabulary, as the > underlying defaultdict method cannot take 'None'. Is there a fix or do I > just need a more recent install of pyth