-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG+2] Invariance tests for clustering metrics #10828
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
[MRG+2] Invariance tests for clustering metrics #10828
Conversation
3rd version
Added format invariance and changed label permutation tests
…Added fowlkes_mallows and calinsky_harabaz . Removed the groups for permute_labels and invariance_format
remove outdated comment
I do like the idea of those tests, but I don't mind them being added after this is merged. |
doc/whats_new/v0.20.rst
Outdated
@@ -492,3 +492,6 @@ Changes to estimator checks | |||
- Add test :func:`estimator_checks.check_methods_subset_invariance` to check | |||
that estimators methods are invariant if applied to a data subset. | |||
:issue:`10420` by :user:`Jonathan Ohayon <Johayon>` | |||
|
|||
- Add invariance tests for clustering metrics. :issue:`8102` by :user:`Ankita | |||
Sinha <anki08>` and `Guillaume Lemaitre <glemaitre>`. |
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.
You either need :user:
or you need to add yourself to _contributors.rst
and use `Guillaume Lemaitre`_
I would merge for now to not block the other PR. I will try to submit a PR once I fixed the SimpleImputer. |
closes #8135
closes #8102
Take over #8135 by using pytest feature to simplify the tests.
To be discussed:
@jnothman Let me know if we address the above 2 points or this is not necessary.