Contents

6.9.4. scikits.learn.metrics.auc

scikits.learn.metrics.auc(x, y)

Compute Area Under the Curve (AUC) using the trapezoidal rule

Parameters :

x : array, shape = [n]

x coordinates

y : array, shape = [n]

y coordinates

Returns :

auc : float