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``
_______________________________________________
scikit-learn mailing list
[email protected]
https://mail.python.org/mailman/listinfo/scikit-learn