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
[MRG] FIX add pos_label when computing AP in plot_precision_recall_curve #15739
Conversation
No need for what's new since we introduce the function in 0.22 |
I will not be able to make any changes tomorrow. Do not hesitate to directly push any fix to be able to merge it. I think this release critical to not release the plotting with this issue. |
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.
Updated PR to test the average precision as well and a small refactor to define y
in the test.
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
Thanks guys |
closes #15738
We need to pass
pos_label
intoaverage_precision_score