auc
- sklearn.metrics.auc(x, y)
Compute Area Under the Curve (AUC) using the trapezoidal rule.
This is a general function, given points on a curve. For computing the area under the ROC-curve, see
roc_auc_score. For an alternative way to summarize a precision-recall curve, seeaverage_precision_score.- Parameters