who password

2014-03-14 8:22 GMT+08:00 <
scikit-learn-general-requ...@lists.sourceforge.net>:

> Send Scikit-learn-general mailing list submissions to
>         scikit-learn-general@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
> or, via email, send a message with subject or body 'help' to
>         scikit-learn-general-requ...@lists.sourceforge.net
>
> You can reach the person managing the list at
>         scikit-learn-general-ow...@lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Scikit-learn-general digest..."
>
>
> Today's Topics:
>
>    1. Re: possible bug in LassoCV? (Joel Nothman)
>    2. Re: possible bug in LassoCV? (Alexey Sorokin)
>    3. Re: possible bug in LassoCV? (Joel Nothman)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 14 Mar 2014 11:03:24 +1100
> From: Joel Nothman <joel.noth...@gmail.com>
> Subject: Re: [Scikit-learn-general] possible bug in LassoCV?
> To: scikit-learn-general <scikit-learn-general@lists.sourceforge.net>
> Message-ID:
>         <CAAkaFLVP4w4U+UgmW=TOZcmRtLpXKcj1X3xWDc=
> fyitt3bu...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Alexey,
>
> That part of the code has since been rewritten, and whether intentional or
> not, this is now fixed.
>
> - Joel
>
>
>
> On 14 March 2014 10:35, Alexey Sorokin <alexey.a.soro...@gmail.com> wrote:
>
> > Hello,
> >
> >
> >
> > I'm quite new to scikit-learn, so please forgive me if I'm not doing it
> > right. I'm using version 0.14.
> >
> >
> >
> > I'm using LassoCV and passing my own vector of alphas. What seems to be
> > happening is that somewhere inside the LinearModelCV.fit() function, the
> > alphas vector is copied and then sorted in a descending order. However,
> > when the optimal alpha index is found the alpha is then taken from the
> > original vector!!! Is this a bug or a feature?
> >
> >
> >
> > Example:
> >
> > X = [[1, 2], [-1, 2], [1, -2], [-2, 0], [0, -2]]
> >
> > Y = [4, 5, 6, 7, 10]
> >
> > regr = linear_model.LassoCV(alphas = [0.0001, 0.001], fit_intercept =
> > False)
> >
> > regr.fit(X, Y)
> >
> > print "lasso r2", regr.score(X, Y), "alpha", regr.alpha_
> >
> > regr = linear_model.LassoCV(alphas = [0.001, 0.0001], fit_intercept =
> > False)
> >
> > regr.fit(X, Y)
> >
> > print "lasso r2", regr.score(X, Y), "alpha", regr.alpha_
> >
> > outputs
> >
> > lasso r2 -8.27498253267 alpha 0.0001
> >
> > lasso r2 -8.27498282478 alpha 0.001
> >
> >
> >
> > Thanks,
> >
> > Alexey Sorokin.
> >
> >
> >
> ------------------------------------------------------------------------------
> > Learn Graph Databases - Download FREE O'Reilly Book
> > "Graph Databases" is the definitive new guide to graph databases and
> their
> > applications. Written by three acclaimed leaders in the field,
> > this first edition is now available. Download your free book today!
> > http://p.sf.net/sfu/13534_NeoTech
> > _______________________________________________
> > Scikit-learn-general mailing list
> > Scikit-learn-general@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 2
> Date: Fri, 14 Mar 2014 00:15:00 +0000
> From: Alexey Sorokin <alexey.a.soro...@gmail.com>
> Subject: Re: [Scikit-learn-general] possible bug in LassoCV?
> To: scikit-learn-general@lists.sourceforge.net
> Message-ID:
>         <
> cal3r9tf7woxfmht8trm3zemohwhajmgizuto9bsbu4sch_t...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Nice, thanks!
>
> What is the version number where this is fixed?
>
> Alexey.
>
>
> On Fri, Mar 14, 2014 at 12:03 AM, Joel Nothman <joel.noth...@gmail.com
> >wrote:
>
> > Hi Alexey,
> >
> > That part of the code has since been rewritten, and whether intentional
> or
> > not, this is now fixed.
> >
> > - Joel
> >
> >
> >
> > On 14 March 2014 10:35, Alexey Sorokin <alexey.a.soro...@gmail.com>
> wrote:
> >
> >>  Hello,
> >>
> >>
> >>
> >> I'm quite new to scikit-learn, so please forgive me if I'm not doing it
> >> right. I'm using version 0.14.
> >>
> >>
> >>
> >> I'm using LassoCV and passing my own vector of alphas. What seems to be
> >> happening is that somewhere inside the LinearModelCV.fit() function, the
> >> alphas vector is copied and then sorted in a descending order. However,
> >> when the optimal alpha index is found the alpha is then taken from the
> >> original vector!!! Is this a bug or a feature?
> >>
> >>
> >>
> >> Example:
> >>
> >> X = [[1, 2], [-1, 2], [1, -2], [-2, 0], [0, -2]]
> >>
> >> Y = [4, 5, 6, 7, 10]
> >>
> >> regr = linear_model.LassoCV(alphas = [0.0001, 0.001], fit_intercept =
> >> False)
> >>
> >> regr.fit(X, Y)
> >>
> >> print "lasso r2", regr.score(X, Y), "alpha", regr.alpha_
> >>
> >> regr = linear_model.LassoCV(alphas = [0.001, 0.0001], fit_intercept =
> >> False)
> >>
> >> regr.fit(X, Y)
> >>
> >> print "lasso r2", regr.score(X, Y), "alpha", regr.alpha_
> >>
> >> outputs
> >>
> >> lasso r2 -8.27498253267 alpha 0.0001
> >>
> >> lasso r2 -8.27498282478 alpha 0.001
> >>
> >>
> >>
> >> Thanks,
> >>
> >> Alexey Sorokin.
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Learn Graph Databases - Download FREE O'Reilly Book
> >> "Graph Databases" is the definitive new guide to graph databases and
> their
> >> applications. Written by three acclaimed leaders in the field,
> >> this first edition is now available. Download your free book today!
> >> http://p.sf.net/sfu/13534_NeoTech
> >> _______________________________________________
> >> Scikit-learn-general mailing list
> >> Scikit-learn-general@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
> >>
> >>
> >
> >
> >
> ------------------------------------------------------------------------------
> > Learn Graph Databases - Download FREE O'Reilly Book
> > "Graph Databases" is the definitive new guide to graph databases and
> their
> > applications. Written by three acclaimed leaders in the field,
> > this first edition is now available. Download your free book today!
> > http://p.sf.net/sfu/13534_NeoTech
> > _______________________________________________
> > Scikit-learn-general mailing list
> > Scikit-learn-general@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 3
> Date: Fri, 14 Mar 2014 11:22:40 +1100
> From: Joel Nothman <joel.noth...@gmail.com>
> Subject: Re: [Scikit-learn-general] possible bug in LassoCV?
> To: scikit-learn-general <scikit-learn-general@lists.sourceforge.net>
> Message-ID:
>         <CAAkaFLUmOX5P80=
> ap1bdsxnngmm_nt40+rls-wqzc8nbf_1...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> It will be fixed in version 0.15, but that is not yet released. So you can
> use the development version for now (see
> http://scikit-learn.org/stable/developers/index.html#git-repo).
>
>
> On 14 March 2014 11:15, Alexey Sorokin <alexey.a.soro...@gmail.com> wrote:
>
> > Nice, thanks!
> >
> > What is the version number where this is fixed?
> >
> > Alexey.
> >
> >
> > On Fri, Mar 14, 2014 at 12:03 AM, Joel Nothman <joel.noth...@gmail.com
> >wrote:
> >
> >> Hi Alexey,
> >>
> >> That part of the code has since been rewritten, and whether intentional
> >> or not, this is now fixed.
> >>
> >> - Joel
> >>
> >>
> >>
> >> On 14 March 2014 10:35, Alexey Sorokin <alexey.a.soro...@gmail.com
> >wrote:
> >>
> >>>  Hello,
> >>>
> >>>
> >>>
> >>> I'm quite new to scikit-learn, so please forgive me if I'm not doing it
> >>> right. I'm using version 0.14.
> >>>
> >>>
> >>>
> >>> I'm using LassoCV and passing my own vector of alphas. What seems to be
> >>> happening is that somewhere inside the LinearModelCV.fit() function,
> the
> >>> alphas vector is copied and then sorted in a descending order. However,
> >>> when the optimal alpha index is found the alpha is then taken from the
> >>> original vector!!! Is this a bug or a feature?
> >>>
> >>>
> >>>
> >>> Example:
> >>>
> >>> X = [[1, 2], [-1, 2], [1, -2], [-2, 0], [0, -2]]
> >>>
> >>> Y = [4, 5, 6, 7, 10]
> >>>
> >>> regr = linear_model.LassoCV(alphas = [0.0001, 0.001], fit_intercept =
> >>> False)
> >>>
> >>> regr.fit(X, Y)
> >>>
> >>> print "lasso r2", regr.score(X, Y), "alpha", regr.alpha_
> >>>
> >>> regr = linear_model.LassoCV(alphas = [0.001, 0.0001], fit_intercept =
> >>> False)
> >>>
> >>> regr.fit(X, Y)
> >>>
> >>> print "lasso r2", regr.score(X, Y), "alpha", regr.alpha_
> >>>
> >>> outputs
> >>>
> >>> lasso r2 -8.27498253267 alpha 0.0001
> >>>
> >>> lasso r2 -8.27498282478 alpha 0.001
> >>>
> >>>
> >>>
> >>> Thanks,
> >>>
> >>> Alexey Sorokin.
> >>>
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>> Learn Graph Databases - Download FREE O'Reilly Book
> >>> "Graph Databases" is the definitive new guide to graph databases and
> >>> their
> >>> applications. Written by three acclaimed leaders in the field,
> >>> this first edition is now available. Download your free book today!
> >>> http://p.sf.net/sfu/13534_NeoTech
> >>> _______________________________________________
> >>> Scikit-learn-general mailing list
> >>> Scikit-learn-general@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
> >>>
> >>>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Learn Graph Databases - Download FREE O'Reilly Book
> >> "Graph Databases" is the definitive new guide to graph databases and
> their
> >> applications. Written by three acclaimed leaders in the field,
> >> this first edition is now available. Download your free book today!
> >> http://p.sf.net/sfu/13534_NeoTech
> >> _______________________________________________
> >> Scikit-learn-general mailing list
> >> Scikit-learn-general@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
> >>
> >>
> >
> >
> >
> ------------------------------------------------------------------------------
> > Learn Graph Databases - Download FREE O'Reilly Book
> > "Graph Databases" is the definitive new guide to graph databases and
> their
> > applications. Written by three acclaimed leaders in the field,
> > this first edition is now available. Download your free book today!
> > http://p.sf.net/sfu/13534_NeoTech
> > _______________________________________________
> > Scikit-learn-general mailing list
> > Scikit-learn-general@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
>
> ------------------------------
>
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
> End of Scikit-learn-general Digest, Vol 50, Issue 26
> ****************************************************
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to