getCutOffList: Function to return ideal cutoff and TPR/FPR or precision/recall.
Description
Calculates ideal cutoff by proximity to corner of the ROC curve.
Usually called from generateAUC
Usage
getCutOffList(perf, aucType = "SS", allCutoffsFlg = FALSE)
Arguments
perf
An ROCR performance class. (Usually made by generateAUC)
aucType
A string. Indicates AUC_ROC or AU_PR and can be "SS" or "PR".
Defaults to SS.
allCutoffsFlg
Binary value controlling list of all thresholds.
Value
Array of ideal cutoff and associated TPR/FPR or pre/rec.