Repository navigation
MNT Remove deprecated entropy from sklearn.metrics.cluster - #35253
Conversation
|
Thank you for opening your first pull request to scikit-learn! 🎉 To help get your contribution reviewed, please make sure that:
|
|
Glad to see you are interested to contribute to scikit-learn 🙏! I would suggest you have a look at our contributing doc and in particular the section Issues for new contributors. I edited your PR description to link to the relevant issue #35120. Please fill out the PR description to give us some hints that you are a human, in particular the "introduce yourself" section. Also the CI is failing at the linting step, which means that you need to fix it look at the message comment above #35253 (comment). You can also have a look at GitHub's How to contribute to Open-Source guide, which gives a good generic overview about how open-source works. |
|
Hi @lesteve! Thank you for the guidance and pointers 🙏. I've updated the PR description with an introduction and the AI usage disclosure. I also removed the unused Please let me know if there are any other changes needed! |
|
Hi @blank-0007, thank you for the PR and for updating the description. |
|
Hi @AnneBeyer, thanks for the review! I've removed the changelog entry file as requested and pushed the update. Everything should be good to go now! |
Reference Issues/PRs
Part of #35252
What does this implement/fix? Explain your changes.
This PR carries out the scheduled deprecation removal of
entropyfromsklearn.metrics.clusterfor the 1.10 release cycle:entropyfunction fromsklearn/metrics/cluster/_supervised.py(deprecated in 1.8)._entropyfunction, which is used internally by clustering evaluation metrics.entropyfromsklearn/metrics/cluster/__init__.pyand__all__.test_public_entropy_deprecationfromsklearn/metrics/cluster/tests/test_supervised.py.deprecatedimport in_supervised.py.doc/whats_new/upcoming_changes/sklearn.metrics/35253.api.rst.Introduce yourself
Hi everyone! My name is Kaushal. I'm a student and open-source enthusiast interested in machine learning and data science. I regularly use scikit-learn in my learning and projects, and I wanted to start contributing to the community by helping with the maintenance and deprecation cleanups for the upcoming 1.10 release. Looking forward to learning from the community and addressing any review feedback!
AI usage disclosure
I used AI assistance for:
Any other comments?
None.