-
-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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
FIX handle dataframe in ARDRegression when predict requests std. dev. #28377
Conversation
I checked the failing CI logs and it seems that some CI does not have pandas installed. Is there some other check that should be done. This is a very pandas/numpy specific issue so I figure it should be imported and used. |
d6059dd
to
ed5a246
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You will need to add an entry in the changelog doc/whats_new/v1.4.rst
(under 1.4.1) to acknowledge the fix.
8137d77
to
326ad90
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM. Thanks @eddiebergman
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
e3561b7
to
f53ae89
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @eddiebergman
…scikit-learn#28377) Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
…scikit-learn#28377) Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
…scikit-learn#28377) Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
…#28377) Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Reference Issues/PRs
ARDRegressor
variance prediction fails onX: pd.DataFrame
#28310What does this implement/fix? Explain your changes.
Only change was just to use
_safe_indexing
.Any other comments?
BayesianRidge
which seems to be tightly related toArdRegression
in testing. The problem doesn't exist there as it doesn't use indexing.