[scikit-learn] Automatic ThresholdClassifier based on cost-function - Classifier Interface?

Andreas Mueller t3kcit at gmail.com
Sun Nov 13 17:37:17 EST 2016

On 11/12/2016 04:17 AM, Anton wrote:
> screws you over since it passes the parameters to __init__(). I 
> expected the usage of set_params() here, but I'm getting my gridsearch 
> parameters passed to __init__().
> Is this intended?
I don't know what you mean by "screws you over". You just have to 
explicitly list all parameters.

> Note that I'm just wrapping a clf, so that I have to pass through the 
> parameters to self.clf, right? No-one can know that I'm storing it in 
> self.clf.
> Therefore set_params needs to be implemented and cannot be inherited?!
right, if you don't want to use ``clf__params``
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20161113/ba3ad05d/attachment.html>

More information about the scikit-learn mailing list