-
-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Fix empty partition prediction with ParallelPostFit #912
base: main
Are you sure you want to change the base?
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