[WIP] Fix empty partition prediction with ParallelPostFit#912
[WIP] Fix empty partition prediction with ParallelPostFit#912
Conversation
|
Thanks @VibhuJawa. When looking at the traceback in #911, I see that skearn's |
|
Thanks for reviewing the issue tom.
So i tried exploring a clean way to expose the I think the problem is that each family of models in Please let me know if the approach i am taking in this PR is not feasible. I will try to explore other ways to go about solving this problem. |
|
@TomAugspurger - Any further feedback or guidance here? I don't see a way to expose cc @jrbourbeau @betatim for vis |
|
I think what is happening is that |
In this PR,
Lines 661 to 688 in 28b97e0 This also matches what cuML does (which returns an empty series) . See below: >>> type(reg)
<class 'cuml.linear_model.logistic_regression.LogisticRegression'>
>>> reg.predict(X_new.iloc[:0])
Series([], dtype: float32) |
Thiis PR fixes #911