-
Notifications
You must be signed in to change notification settings - Fork 12
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
[WIP] Mutual info based feature selection #19
base: main
Are you sure you want to change the base?
[WIP] Mutual info based feature selection #19
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.
Did a quick pass, looking more closely at the logic on a second pass.
requirements.txt
Outdated
scikit-learn==1.2.0; python_version >= '3.8' | ||
scikit-learn==1.0.2; python_version < '3.8' | ||
scikit-learn==1.2.1 | ||
scipy>=1.7.3 |
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.
Rule of thumb, we want the versions in requirements.txt
to be fixed for reproducibility, but as wide as possible in setup.cfg
for flexibility.
packages = | ||
dwave | ||
dwave.plugins | ||
dwave.plugins.sklearn | ||
python_requires = >=3.7 | ||
python_requires = >=3.8 |
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.
We should note this in the release notes. E.g. Drop support for Python 3.7.
or Upgrade your python to 3.8+. We no longer support python 3.7 and below.
.
Adding another algorithm for feature selection based on mutual information. The algorithms are based on these publications:
[1] Peng, F. Long, and C. Ding. Feature selection based on mutual information criteria of max-dependency,
max-relevance, and min-redundancy. IEEE Transactions on pattern analysis and machine intelligence,
27(8):1226–1238, 2005.
[2] X. V. Nguyen, J. Chan, S. Romano, and J. Bailey. Effective global approaches for mutual information
based feature selection. In Proceedings of the 20th ACM SIGKDD international conference on
Knowledge discovery and data mining, pages 512–521. ACM, 2014.