[Scikit-learn-general] Vectorizing input

2013-03-13 Thread Ark
The vectorized input with the same training data set differs with versions 0.13.1 and 0.14-git. For: vectorizer = TfidfVectorizer(stop_words='english', ngram_range=(1,2), smooth_idf=True, sublinear_tf=True, max_df=0.5, token_pattern=ur'\b(?!\d)\w\w+\b')) On fit_transf

Re: [Scikit-learn-general] macports installation instructions

2013-03-13 Thread John Gleeson
On 2013-03-13, at 10:34 AM, John Gleeson wrote: > > On 2013-03-13, at 9:25 AM, Andreas Mueller wrote: > >> On 03/13/2013 04:12 PM, Lars Buitinck wrote: >>> 2013/3/13 John Gleeson : > sudo port install py27-scikits-learn This is the correct install command. >>> I just updated the docs. Ap

Re: [Scikit-learn-general] macports installation instructions

2013-03-13 Thread John Gleeson
On 2013-03-13, at 9:25 AM, Andreas Mueller wrote: > On 03/13/2013 04:12 PM, Lars Buitinck wrote: >> 2013/3/13 John Gleeson : sudo port install py27-scikits-learn >>> This is the correct install command. >> I just updated the docs. Apparently the name got mistyped py27- >> sklearn >> once, t

Re: [Scikit-learn-general] macports installation instructions

2013-03-13 Thread Andreas Mueller
On 03/13/2013 04:12 PM, Lars Buitinck wrote: > 2013/3/13 John Gleeson : >>> sudo port install py27-scikits-learn >> This is the correct install command. > I just updated the docs. Apparently the name got mistyped py27-sklearn > once, then the error was copied. Actually, the name was py27-scikits-le

Re: [Scikit-learn-general] macports installation instructions

2013-03-13 Thread Lars Buitinck
2013/3/13 John Gleeson : >> sudo port install py27-scikits-learn > > This is the correct install command. I just updated the docs. Apparently the name got mistyped py27-sklearn once, then the error was copied. (The MacPorts package is in need of an update: the scikits module is no longer required

Re: [Scikit-learn-general] optimize.fsolve endless loop with nan

2013-03-13 Thread josef . pktd
On Wed, Mar 13, 2013 at 10:48 AM, Lars Buitinck wrote: > 2013/3/13 : >> I have a problem where fsolve goes into a range where the values are >> nan. After that it goes into an endless loop, as far as I can tell. > > I think you intended to send this to scipy-dev? This is > scikit-learn-general. W

Re: [Scikit-learn-general] Getting the VC dimension for the supervised classifiers of sklearn

2013-03-13 Thread Andreas Mueller
Hi. Afaik VC dimension is mostly of theoretical interest and not of much practical value as the bounds tend to be very lose. If you have any practical application, I would be interested. VC dimension is a property of a class of hypotheses, so it is nothing that refers to the parameter that you

Re: [Scikit-learn-general] optimize.fsolve endless loop with nan

2013-03-13 Thread Lars Buitinck
2013/3/13 : > I have a problem where fsolve goes into a range where the values are > nan. After that it goes into an endless loop, as far as I can tell. I think you intended to send this to scipy-dev? This is scikit-learn-general. We don't fsolve, we roll our own :) -- Lars Buitinck Scientific

[Scikit-learn-general] optimize.fsolve endless loop with nan

2013-03-13 Thread josef . pktd
preliminary question, I didn't have time yet to look closely >>> scipy.__version__ '0.9.0' I have a problem where fsolve goes into a range where the values are nan. After that it goes into an endless loop, as far as I can tell. Something like this has been fixed for optimize.fmin_bfgs. Was there

Re: [Scikit-learn-general] macports installation instructions

2013-03-13 Thread John Gleeson
On 2013-03-13, at 5:42 AM, Thomas Fawcett wrote: > sudo port install py27-scikits-learn This is the correct install command. Assuming you installed macports in /opt/local: The shell command 'which python' should output /opt/local/bin/python and sklearn should be in the directory /opt/local/

[Scikit-learn-general] Getting the VC dimension for the supervised classifiers of sklearn

2013-03-13 Thread ShNaYkHs ShNaYkHs
Hello all, Is it possible to get the VC dimension (Vapnik–Chervonenkis dimension) of the supervised classifiers of sklearn ? Do someone know how or if it is actually possible to add this utility to sklearn ? The VC dimension is a pretty important utility, since it can predict an upper bound on the

[Scikit-learn-general] macports installation instructions

2013-03-13 Thread Thomas Fawcett
Hi, Your installation page http://scikit-learn.org/stable/install.htmlcurrently say for Macports to type: sudo port install py27-sklearn which gives for me the error: Port py27-sklearn not found On the other hand: sudo port install py27-scikits-learn does think it has installed something - see th