[scikit-learn] Automatic ThresholdClassifier based on cost-function - Classifier Interface?
Anton
a.suchaneck at gmail.com
Mon Nov 14 01:29:12 EST 2016
>
>> 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.
There is a hidden assumption that next to set_param() some methods may
alternatively use __init__() to set parameters. That's why I had to
jump through multiple hoops to get a meta-classifier which
transparently shadows all variables. Usually you would expect that all
parts stick to the convention of using one way to set parameters only
(set_params())
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20161114/d4229b11/attachment-0001.html>
More information about the scikit-learn
mailing list