- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 657
 
improve average precision and tests #1756
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
improve average precision and tests #1756
Conversation
| 
           @KickItLikeShika thanks for the PR! Please, check this run: https://github.com/pytorch/ignite/pull/1756/checks?check_run_id=2060459202#step:6:32  | 
    
| 
           @Moh-Yakoub could you please make any suggestion on how to refactor tests using pytest parametrize ?  | 
    
| 
           @vfdev-5 solved the doc error, waiting for @Moh-Yakoub suggestions  | 
    
| 
           Sounds good! Meanwhile, @KickItLikeShika, take a look at @Moh-Yakoub 's PR for accuracy: #1755  | 
    
| 
           @vfdev-5, check the updates please, the tests have been refactored, and the docstring error has been solved.  | 
    
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.
@KickItLikeShika thanks for the update! Left few comments
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.
Thanks @KickItLikeShika ! LGTM
Fixes #1695
We tried to improve the
contrib.metricsmodule at #1700 but we got some issues, the PR wasn't small, so it wasn't easy to solve these issues. I guess dividing this #1700 into smaller PRs will be better, and we would be able to solve these issues, i will create several PRs, each one contains the improvements for a one metric, and this is the first one foraverage_precision. In this PR the implementation and the tests ofaverage_precisionhave been updated as discussed before.Check list: