Worked example
Positive-class precision (%): 75
Inputs
- True positives (count): 30
- False positives (count): 10
- False negatives (count): 20
- True negatives (count): 40
Binary classification with the positive class chosen by you.
Use the units shown.
Divide true positives by predicted positives.
Divide true positives by actual positives.
Use the harmonic mean of positive-class precision and recall.
Divide correct positive and negative predictions by all cases.
Binary classification with the positive class chosen by you. All counts refer to the same evaluation set; undefined precision or recall denominators are rejected.
scikit-learn model evaluation documentation ↗Positive-class precision (%): 75
Positive-class precision (%): 80