Closed jrderuiter closed 4 years ago
Thank you for the bug report!
I could reproduce it here, too. It fails when the class you're making a step from lacks an __init__
method and resolves to a delegate of object.__init__
which has a (*args, **kwargs)
signature which is incompatible with scikit-learn. I'll work on a fix which I plan to release as version 0.3.1. In the meantime, to make it work please define an __init__
method in your base class, if possible.
Great, thanks!
What is the bug?
When printing a representation of a step made from a BaseEstimator subclass (see below), I get the following runtime error:
How to reproduce it?
What behavior did you expect?
To not get a runtime error.
What versions are you using?
Any additional information? Add here any other information about the problem that could be relevant.