-
Notifications
You must be signed in to change notification settings - Fork 416
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
Add ignore_index to Accuracy metric #155
Conversation
Codecov Report
@@ Coverage Diff @@
## master #155 +/- ##
===========================================
- Coverage 96.18% 79.77% -16.41%
===========================================
Files 180 90 -90
Lines 5582 2784 -2798
===========================================
- Hits 5369 2221 -3148
- Misses 213 563 +350
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@SkafteNicki Please, review this |
Hi @avinashsai, |
I haven't added testcases. But I have checked externally with all cases. Should I add test cases in test_accuracy.py? |
Yes please do so :] |
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.
Please, add test with different number of ignore_index in preds, targets.
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.
add test for usage and raised new error
@SkafteNicki I dont know why tests are failing. |
it seems that the outputs do not meet expectations |
@avinashsai mind check the failing tests? |
Added ignore_index to Accuracy metric. Fixes #61