-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
FIX mutual_info_regression
when X
is of integer dtype
#26748
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
Conversation
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.
Thanks for working on this. Looks reasonable to me.
To keep the review simple and sticking to the "One PR for one topic" I'd propose to not make unrelated changes to the change log.
Sure, I will revert the changelog changes and open another PR for it later. |
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. Thank you for the fix 😄
Reference Issues/PRs
Fixes #26696.
What does this implement/fix? Explain your changes.
This PR converts
X
tofloat64
dtype before callingscale
to avoid rounding to integers.Btw I reordered the changelog sections according to the 1.3 version and alphabetical order. If not desired I can revert.