Skip to content
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

Fix the dice metric. Incorrect anotation #1684

Merged
merged 5 commits into from
Apr 4, 2023
Merged

Fix the dice metric. Incorrect anotation #1684

merged 5 commits into from
Apr 4, 2023

Conversation

YeaMerci
Copy link
Contributor

@YeaMerci YeaMerci commented Apr 3, 2023

What does this PR do?

In the annotation of the Dice class, the average argument had the annotation literal["micro", "macro", "weighted", "sample"]. The anotation was incorrect and I removed the extra "weighted" element, which is missing from the list when checking the average argument. The anotation was misleading.

@codecov
Copy link

codecov bot commented Apr 3, 2023

Codecov Report

Merging #1684 (a53ba82) into master (9d3a7cc) will decrease coverage by 37%.
The diff coverage is 100%.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1684     +/-   ##
========================================
- Coverage      89%     52%    -37%     
========================================
  Files         228     228             
  Lines       12794   12796      +2     
========================================
- Hits        11355    6593   -4762     
- Misses       1439    6203   +4764     

@mergify mergify bot added the ready label Apr 3, 2023
@Borda Borda enabled auto-merge (squash) April 4, 2023 18:43
@Borda Borda disabled auto-merge April 4, 2023 23:09
@Borda Borda merged commit 2509448 into Lightning-AI:master Apr 4, 2023
@mergify mergify bot removed the ready label Apr 4, 2023
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.

3 participants