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
FEA Add Information Gain and Information Gain Ratio feature selection functions #28905
base: main
Are you sure you want to change the base?
FEA Add Information Gain and Information Gain Ratio feature selection functions #28905
Conversation
…kar/scikit-learn into ig-and-igr-feature-selection
…nual values; moved IGR tests
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 the PR @StefanieSenger . Would it make sense to add a test which compares the transformed X between the information gain and information gain ratio, since they should be generally the same?
I have added such a test @OmarManzoor, maybe it helps if one day someone works on the |
Reference Issues/PRs
closes #6534
What does this implement/fix? Explain your changes.
This 2016 PR intended to add
info_gain
andinfo_gain_ratio
functions for univariate feature selection. Here, I update and finish it up. For further information, please refer to the discussion on the old PR.