Use this function to get the required options for search.bin, estim.bin, or s.roc functions.
get.options.roc(
lowerThreshold = 0,
upperThreshold = 1,
epsilon = 1e-12,
pessimistic = FALSE,
costs = NULL,
costMatrix = NULL
)A list with the given options.
A number representing the lower bound for calculating partial AUC.
A number representing the upper bound for calculating partial AUC.
A small number used to ignore small floating point differences when comparing scores.
If TRUE, sequences of equally scored instances are treated differently and a pessimistic metric is calculated (see Fawcett (2006) An introduction to ROC analysis, fig. 6).
The cost of each observation. If NULL, the cost of all observations will be 1.
A 2x2 cost matrix in which: (1,1) is the cost of TN,
(2,2) is the cost of TP, (1,2) is the cost of FP and (2,1) is the cost of FN. The first
column is multiplied by the corresponding value in the costs vector (see
Fawcett (2006), ROC graphs with instance-varying costs).
See details of s.roc function.
search.bin, estim.bin, s.roc