### sklearn.metrics.precision_score scikit learn 0.23.1

sklearn.metrics.precision_score¶ sklearn.metrics.precision_score y_true, y_pred, *, labels=None, pos_label=1, average='binary', sample_weight=None, zero_division='warn' ¶ Compute the precision. The precision is the ratio tp / tp + fp where tp is the number of true positives and fp the number of false positives. The precision is intuitively the ability of the classifier not to

learn more