Thanks. That appears to be working (I put metrics.r2_score in there).
On 23 July 2012 14:52, Gael Varoquaux <[email protected]> wrote:
> On Mon, Jul 23, 2012 at 10:56:53AM +1000, Robert Layton wrote:
> > Sorry for what will probably turn out to be an overly simple question.
> > Is there a simple way to get the R2 value from using a
> LogisticRegression
> > from within cross_validation.cross_val_score?
>
> Probably using the 'score_func' argument of cross_val_score.
>
> G
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
--
Public key at: http://pgp.mit.edu/ Search for this email address and select
the key from "2011-08-19" (key id: 54BA8735)
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general