On 07/30/2013 06:00 PM, Wifi Gi wrote:
> Lars,
> Thanks, that seems to work. I am a bit confused though - the 
> help(cross_validation.cross_val_score) command specifically says the 
> "scoring" argument can be either a string or a callable (description 
> copied here):
>  scoring : string or callable, optional
>         Either one of either a string ("zero_one", "f1", "roc_auc", 
> ... for
>         classification, "mse", "r2", ... for regression) or a callable.
>         See 'Scoring objects' in the model evaluation section of the 
> user guide
>         for details.
> Are the internal docs out of date?
Did you see the model evaluation section of the user guide for details? ;)
You can pass a callable, but the signature is not the same as the score 
function that you passed.

>
> I have one other question on this subject - is it possible to get 
> multiple metrics (like precision AND accuracy) from the 
> cross_val_score function?
Not yet, sorry.

------------------------------------------------------------------------------
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