Hi Michal.
This is implemented in the current development version.
You can now pass "scoring objects" that get the estimator.
See here:
http://scikit-learn.org/dev/modules/model_evaluation.html#score-func-objects

Cheers,
Andy


On 04/06/2013 07:32 PM, Romaniuk, Michal wrote:
> Hi Everyone,
>
> In sklearn.cross_validation.cross_val_score, would it make sense to enable 
> score_func to access the estimator itself, rather than just the true and 
> predicted labels? My use case would be to use cross_val_score to compute both 
> classification accuracy and sparsity for each train/test split.
>
> Regards,
> Michal
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to