lambda-ml.metrics

Functions that compute measures of cost or gain.

auc

(auc points)

Returns the area under the curve of a given collection of points, using the trapezoidal rule.

roc-curve

(roc-curve labels predictions)

Returns a sequence of [false positive rate, true positive rate] tuples that represent the ROC curve of a classifier.