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

Reply via email to