libuplift.utils.metrics#

Utility functions used for metric computation.

Functions#

area_under_curve(xs, ys[, subtract_diag])

Compute area under a curve given by xs and ys.

Module Contents#

libuplift.utils.metrics.area_under_curve(xs, ys, subtract_diag=True)[source]#

Compute area under a curve given by xs and ys.

If subtract_diag is True area under the diagonal is subtracted.