Re: [Scikit-learn-general] Tutorial / text data / SGDClassifier fit problem

2013-03-20 Thread Jaques Grobler
@ogrisel , I'd be happy to lend a hand with this. Just say yay and I'll get it going :) 2013/3/20 Andreas Mueller > Olivier wrote it and is planning to merge it. > I think he wouldn't resist if any one gave him a hand ;) > > I think it is quite urgent as this keeps getting up on the ml/irc/so >

Re: [Scikit-learn-general] Tutorial / text data / SGDClassifier fit problem

2013-03-20 Thread Andreas Mueller
Olivier wrote it and is planning to merge it. I think he wouldn't resist if any one gave him a hand ;) I think it is quite urgent as this keeps getting up on the ml/irc/so Cheers, Andy -- Everyone hates slow websites. So

Re: [Scikit-learn-general] Tutorial / text data / SGDClassifier fit problem

2013-03-20 Thread Lars Buitinck
2013/3/20 Jaques Grobler > Definitely - who made that tut originally? Would be a good addition to the > tutorial section. > We did, or rather, the other guys; I was lured into the project by this tutorial, which was quite good when it was up to data. > Else we could just update it and then lin

Re: [Scikit-learn-general] Tutorial / text data / SGDClassifier fit problem

2013-03-20 Thread Jaques Grobler
Actually, I think the last update just missed the line at the bottom of the page about version 0.9.. There's a note by the index saying Note This document is meant to be used with *scikit-learn version 0.11+* (i.e. the current state of the master branch at the time of writing: 2012-02-13). So i

Re: [Scikit-learn-general] Tutorial / text data / SGDClassifier fit problem

2013-03-20 Thread Jaques Grobler
Definitely - who made that tut originally? Would be a good addition to the tutorial section. Else we could just update it and then link to it from the tutorial section like with Jake's AstroML tutorial.. 2013/3/20 Lars Buitinck > 2013/3/20 Jaques Grobler > >> same thought as Lars.. also, that

Re: [Scikit-learn-general] Tutorial / text data / SGDClassifier fit problem

2013-03-20 Thread Lars Buitinck
2013/3/20 Jaques Grobler > same thought as Lars.. also, that tutorial mentions at the bottom that > it's for scikit-learn 0.9 > We should update that (or actually, we should merge the tutorial into the mainline docs...) -- Lars Buitinck Scientific programmer, ILPS University of Amsterdam -

Re: [Scikit-learn-general] Tutorial / text data / SGDClassifier fit problem

2013-03-20 Thread Jaques Grobler
same thought as Lars.. also, that tutorial mentions at the bottom that it's for scikit-learn 0.9 2013/3/20 Lars Buitinck > 2013/3/19 Zvika Marx > >> /usr/lib/pymodules/python2.7/sklearn/linear_model/stochastic_gradient.pycin >> _fit_multiclass(self, X, y, sample_weight) 162 strategy is called

Re: [Scikit-learn-general] Tutorial / text data / SGDClassifier fit problem

2013-03-20 Thread Lars Buitinck
2013/3/19 Zvika Marx > /usr/lib/pymodules/python2.7/sklearn/linear_model/stochastic_gradient.pycin > _fit_multiclass(self, X, y, sample_weight) 162 strategy is called OVA:One > Versus All > . 163 """ --> 164 X = np.asarray(X, dtype=np.float64, order='C') 165 166 # > Use joblib to run OVA in par

[Scikit-learn-general] Tutorial / text data / SGDClassifier fit problem

2013-03-20 Thread Zvika Marx
Hi I am trying to run through scikit-learn.github.com/scikit-learn-tutorial/working_with_text_data.html as is. Calls to SGDClassifier(...).fit(...), either within the pipe or directly, invoke "ValueError: setting an array element with a sequence." Thanks much (great tool!!!) ---