Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 361202

P&R are a way to measure the relevance of set of retrieved instances. Precision is the % of correct instances out of all instances retrieved. Relevance is the % of true instances retrieved. The harmonic mean of P&R is the F1-score. P&R are used in data mining to evaluate classifiers.

1 vote

Why although my precision for class 1 is very low (0.05), and the recall is 0.92, the Precis...

PR curve plot displays metrics for every possible classification threshold. If you did not resample your data, the optimal threshold will be far from the default 0.5 used by predict() or classificatio …
dx2-66's user avatar
  • 351
0 votes
Accepted

How to get the threshold from PrecisionRecallDisplay?

PrecisionRecallDisplay() is just a very basic wrapper for sklearn.metrics.precision_recall_curve(). The latter returns numpy arrays for precision, recall and thresholds, which allow easy vectorized ha …
dx2-66's user avatar
  • 351