Warning: This documentation is for scikits.learn version 0.7.1. — Latest stable version

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