Repository navigation
Update isolated_labels.py - #368
Merged
Merged
Conversation
Collaborator
|
I guess you'll need to adapt the tests as well for this. |
LuckyMD
approved these changes
Jan 27, 2023
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #368 +/- ##
=======================================
Coverage 53.13% 53.13%
=======================================
Files 22 22
Lines 1848 1848
=======================================
Hits 982 982
Misses 866 866
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Collaborator
|
Please also adapt the perfect score test |
Member
Author
|
ah bit too fast |
Collaborator
|
@mumichae could you still review this please? |
barlowa124
pushed a commit
to barlowa124/scib
that referenced
this pull request
Dec 4, 2026
Update isolated_labels.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As mentioned in #367, the isolated label metrics do not compute what they should.
By calculating the individual silhouette scores and then taking the mean over only the cells of the cluster, this should be fixed.