Re: [Scikit-learn-general] Parallel GridSearchCV on sparse.SVC fails with ValueError

2011-11-05 Thread Mathieu Blondel
> With sparse data, you should use the indices=True argument to > StratifiedKFold. By default, it will return a boolean mask, which > cannot be used to index into a sparse matrix. We really need to do something about this issue, as it keeps popping up. A few ideas: 1) make indices=True the defaul

Re: [Scikit-learn-general] Parallel GridSearchCV on sparse.SVC fails with ValueError

2011-11-05 Thread Lars Buitinck
2011/11/6 Sami Liedes : > On Sun, Nov 06, 2011 at 12:22:37AM +0100, Lars Buitinck wrote: >> With sparse data, you should use the indices=True argument to >> StratifiedKFold. By default, it will return a boolean mask, which >> cannot be used to index into a sparse matrix. > > Ah, didn't know of that

Re: [Scikit-learn-general] Parallel GridSearchCV on sparse.SVC fails with ValueError

2011-11-05 Thread Sami Liedes
On Sun, Nov 06, 2011 at 12:22:37AM +0100, Lars Buitinck wrote: > 2011/11/5 Sami Liedes : > >    train,test = iter(StratifiedKFold(DATA.classes, 2)).next() > > With sparse data, you should use the indices=True argument to > StratifiedKFold. By default, it will return a boolean mask, which > cannot

Re: [Scikit-learn-general] Parallel GridSearchCV on sparse.SVC fails with ValueError

2011-11-05 Thread Lars Buitinck
2011/11/5 Sami Liedes : >    train,test = iter(StratifiedKFold(DATA.classes, 2)).next() With sparse data, you should use the indices=True argument to StratifiedKFold. By default, it will return a boolean mask, which cannot be used to index into a sparse matrix. >    # DATA.features is a sparse ma

[Scikit-learn-general] Parallel GridSearchCV on sparse.SVC fails with ValueError

2011-11-05 Thread Sami Liedes
Hi! This looks like a bug to me, but since I'm new to sklearn, I thought I'd ask first if I'm doing something wrong before reporting a bug. It seems that sparse.SVC and GridSearchCV don't play along nicely if I pass a parameter n_jobs > 1 to GridSearchCV(). At some point I get ValueError("cannot

Re: [Scikit-learn-general] December sprint planning (NIPS edition)

2011-11-05 Thread Olivier Grisel
2011/11/5 Andreas Mueller : > Hi Everybody. > I didn't make it to NIPS this year but I'd still love to > take part in the coding sprint. > I know I'm not a core developer but I still want to be > so bold as to ask if you have any funding 'left'. > Also: How much is the stay at the guest house? For

Re: [Scikit-learn-general] December sprint planning (NIPS edition)

2011-11-05 Thread Gael Varoquaux
On Sat, Nov 05, 2011 at 06:56:14PM +0100, Andreas Mueller wrote: > I didn't make it to NIPS this year but I'd still love to > take part in the coding sprint. > I know I'm not a core developer but I still want to be > so bold as to ask if you have any funding 'left'. I am not sure, as we are still

Re: [Scikit-learn-general] December sprint planning (NIPS edition)

2011-11-05 Thread Andreas Mueller
Hi Everybody. I didn't make it to NIPS this year but I'd still love to take part in the coding sprint. I know I'm not a core developer but I still want to be so bold as to ask if you have any funding 'left'. Also: How much is the stay at the guest house? It would be great to meet you guys and work

[Scikit-learn-general] December sprint planning (NIPS edition)

2011-11-05 Thread Olivier Grisel
Hi all, As you already know we are organizing a development sprint right after NIPS in Granada in December. In order to plan stuff a bit please edit the following wiki page to add your name and the topic you like to work on (e.g. finalizing the review and merging a specific pull request for instan