Related: We should probably raise an exception if more than one of
score_func, loss_func and scoring is passed. I don't understand how
score_overrides_loss fits in...
On Wed, Jul 31, 2013 at 1:50 AM, Lars Buitinck <[email protected]> wrote:
> 2013/7/30 Wifi Gi <[email protected]>:
> > score = cross_validation.cross_val_score(alg, x, y, cv=folds,
> > scoring=metrics.accuracy_score)
>
> You're mixing scoring (the new API) with score_func (the old API
> described in the 0.13.1 docs). Use `scoring="accuracy"`.
>
> --
> Lars Buitinck
> Scientific programmer, ILPS
> University of Amsterdam
>
>
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general