-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
precision_recall_curve is not as I would expect #9359
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
Comments
can you check on master please? |
possibly related to #6265 |
Could you please reverse your expected results so it's easier to compare numerically? Thanks |
@chananshgong I think there is a mistake in your code snippet: |
@chananshgong Closing this one since there's something wrong with your code. See the previous comment. Feel free to reopen if you disagree :) |
Uh oh!
There was an error while loading. Please reload this page.
Description
precision_recall_curves return values which are not correct.
Steps/Code to Reproduce
Example:
compare the answer here https://stats.stackexchange.com/questions/183504/are-precision-and-recall-supposed-to-be-monotonic-to-classification-threshold to what sklearn returns
Expected Results
Actual Results
Versions
Windows-10-10.0.14393-SP0
Python 3.5.3 |Anaconda custom (64-bit)| (default, Feb 22 2017, 21:28:42) [MSC v.1900 64 bit (AMD64)]
NumPy 1.12.1
SciPy 0.19.0
Scikit-Learn 0.18.1
The text was updated successfully, but these errors were encountered: