π₯ Precision-Recall plot: Clearly explained
π The precision-recall plot is a model-wide measure for evaluating classifiers. The plot is based on the evaluation metrics of Precision and Recall.
π§ Recall (identical to sensitivity) is a measure of the whole positive part of a dataset, whereas precision is a measure of positive predictions.
The precision-recall plot uses precision on the y-axis and recall on the x-axis. You see a visual explanation in the figure.
π€ It is easy to interpret a precision-recall plot. In general, precision decreases as recall increases. Conversely, as precision increases, recall decreases.
π‘ A random classifier lies on the y-axis (precision) at y = P/( P + N ) (P: number of positive labels, N: number of negative labels). A poor classifier lies below this line, and a good classifier lies well above this line.
π You can see two different plots in the figure. On the left side, you see the random line is y=0.5. The ratio of positives (P) and negatives (N) is 1:1. On the right side, you see the random line is y=0.25. There, we have a ratio of positives and negatives of 1:3.
π Another quality criterion in the precision-recall plot is the area under the curve (AUC) score, where the area under the curve is calculated. An AUC score close to 1 characterizes a good classifier.
https://t.me/CodeProgrammer
Post #4999
4.03K

- β€ 11