Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix for comparison of distcrete_features with string "auto" #13522

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

Closed

Conversation

MohammedKhandwawala
Copy link

Reference Issues/PRs

To support future version of numpy avoid comparison with string.

What does this implement/fix? Explain your changes.

Checking the datatype before comparing to avoid direct comparison

Any other comments?

What should it return if invalid string is passed

Copy link
Member

@jnothman jnothman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the bug also imply that we never test discrete_features being an array? If so, you should add a test

@adrinjalali
Copy link
Member

@MohammedKhandwawala #13497 is tackling this I suppose.

@hermidalc
Copy link
Contributor

@MohammedKhandwawala #13497 is tackling this I suppose.

Yes we’ve already finished the pull request, I’m just going to add some additional tests since they were missing (unrelated to the issue)

@MohammedKhandwawala
Copy link
Author

Already being tackled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants