-
Notifications
You must be signed in to change notification settings - Fork 786
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
Segmentation #677
Segmentation #677
Conversation
Codecov Report
@@ Coverage Diff @@
## master #677 +/- ##
==========================================
+ Coverage 96.20% 96.31% +0.10%
==========================================
Files 51 56 +5
Lines 4168 4392 +224
Branches 729 768 +39
==========================================
+ Hits 4010 4230 +220
Misses 85 85
- Partials 73 77 +4
|
|
Get this code to pass the CI:
|
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.
Make all optional arguments kwargs
cleanlab/segmentation/summary.py
Outdated
num_classes = max(np.unique(labels)) + 1 | ||
cmap = _generate_colormap(num_classes) | ||
else: | ||
cmap = None |
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.
is it concerning this line is never tested? If not, then just leave as is, hard for me to tell
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.
LGTM overall! Just had two minor remaining comments related to codecov which @ulya-tkch can address easily. Ping me to handle merge of this then
Thanks for your hard work on this @vdlad @ulya-tkch !!
Addition of segmentation functionality to cleanlab.
Closes: #376, #586