-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Comparing string to array in _estimate_mi #13481
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
Comments
I'll take this |
@hermidalc go for it :) |
i'm not sure ,but i think user will change the default value if it seem to be array or boolean mask....bcz auto is default value it is not fixed. |
I haven't understood, @punkstar25 |
@amueller i want to take this issue. I am a beginner. |
@MohammedKhandwawala , I'm afraid @hermidalc has already opened #13497 to address this. |
@MohammedKhandwawala I have a pull request open and am finishing this issue. To answer your question what I believe @amueller meant is to properly test and if necessary raise an exception for |
In
_estimate_mi
there isdiscrete_features == 'auto'
but discrete features can be an array of indices or a boolean mask.This will error in future versions of numpy.
Also this means we never test this function with discrete features != 'auto', it seems?
The text was updated successfully, but these errors were encountered: