On 02/19/2015 05:41 PM, Pagliari, Roberto wrote:
Look at http://scikit-learn.org/dev/modules/model_evaluation.html#implementing-your-own-scoring-objecthi Andy, but in practice, how do I access the estimator from the scoring function?
The signature of the "scoring" parameter if given a callable is: def my_scoring(estimator, X, y): pass So the first argument is the estimator.
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general