precision_recall_curve
- sklearn.metrics.precision_recall_curve(y_true, y_score, *, pos_label=None, sample_weight=None, drop_intermediate=False)
Compute precision-recall pairs for different probability thresholds.
Note: Support beyond binary classification tasks, via one-vs-rest or one-vs-one, is not implemented.
The precision is the ratio where is the number of true positives and the number of false positives. The precision is intuitively the ability of the classifier not to label as positive a sample that is negative.