aum {aum} | R Documentation |
aum
Description
Compute the Area Under Minimum of False Positives and False Negatives, and its directional derivatives.
Usage
aum(error.diff.df, pred.vec)
Arguments
error.diff.df |
data frame of error differences, typically computed via
|
pred.vec |
numeric vector of N predicted values. |
Value
Named list of two items: aum is numeric scalar loss value, derivative_mat is N x 2 matrix of directional derivatives (first column is derivative from left, second column is derivative from right). If
Author(s)
Toby Dylan Hocking <toby.hocking@r-project.org> [aut, cre], Jadon Fowler [aut] (Contributed exact line search C++ code)
Examples
(bin.diffs <- aum::aum_diffs_binary(c(0,1)))
aum::aum(bin.diffs, c(-10,10))
aum::aum(bin.diffs, c(0,0))
aum::aum(bin.diffs, c(10,-10))