Skip to content

Conversation

aivarsoo
Copy link

@aivarsoo aivarsoo commented Apr 2, 2024

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.

Copy link
Member

@arcondello arcondello left a 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
Copy link
Member

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.

dwave.plugins
dwave.plugins.sklearn
python_requires = >=3.7
python_requires = >=3.8
Copy link
Member

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..

@aivarsoo aivarsoo requested a review from arcondello April 11, 2024 16:25
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.

2 participants