-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Update metrics to use Enum (#5657) #5689
Update metrics to use Enum (#5657) #5689
Conversation
Hello @yuntai! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-02-01 17:22:28 UTC |
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.
I like it.
fd78e1f
to
514a804
Compare
Great job so far @yuntai. |
514a804
to
3504fa8
Compare
3504fa8
to
0947c44
Compare
Codecov Report
@@ Coverage Diff @@
## release/1.2-dev #5689 +/- ##
================================================
- Coverage 89% 84% -5%
================================================
Files 169 169
Lines 12415 12430 +15
================================================
- Hits 11099 10479 -620
- Misses 1316 1951 +635 |
0947c44
to
211dfea
Compare
@SkafteNicki added do we want |
abac809
to
ce1e528
Compare
@yuntai if this is only used in the confusion matrix, this is probably overkill. |
481faec
to
52e8069
Compare
@yuntai as @justusschock mentions it is probably overkill. I would say that we should only convert code that atleast influences two metrics. |
6345a6d
to
517db08
Compare
517db08
to
17737f8
Compare
- Add DataType, AverageMethod and MDMCAverageMethod
17737f8
to
727e289
Compare
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 :]
Co-authored-by: Nicki Skafte <[email protected]>
Add enum in metrics/classification/helpers.py
What does this PR do?
Fixes # (5657) <- Update metrics to use Enum #5657
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃