Closed brian-l-hand closed 2 years ago
That seems like a valid bug indeed! The ZeroInflatedRegressor
always tries to pass sample_weight, even if it's not given, we'll need to add some kind of check for it. Is this something you'd be interested to make a PR for?
I am attempting to use ZeroInflatedRegressor with KNeighborsRegressor as the regressor. The KNeighborsRegressor fit() method does not have a sample_weight parameter, which results in the following error: