Created: 2022-11-02 20:11:09 Tags: #ML #DataScience #classification_metric #ml_metrics
For understanding precision score you need to read Confusion Matrix note firstly.
# Note
Precision uses to evaluate classification machine learning algorithm. It has more stability with imbalanced data then Accuracy score.
# Definition
- Precision is the fraction of relevant instances among the retrieved instances. In other words how many retrieved samples are relevant?. $$Precision = \frac{TP}{TP + FP}$$
# Probabilistic interpretation
- Precision is the estimated probability that a document randomly selected from the pool of retrieved documents are relevant.
Relevant element (document) is the element (document) has a positive class label.
# Advantages
- Good works with imbalanced data
- Easy interpretable