Parameters have to be checked at `fit`, not in `__init__`. Also, there is no test for that.