Fast AUC computation
lightAUC.RdFast and memory efficient AUC computation.
Arguments
- probs
numericvector containing probability from the model, where closer to 1 is for the positive class and closer to 0 is for the negative class.- actuals
integer,numericorlogicalvector with the actual data, where is 1 for the positive class and 0 for the negative class.- parallel
logicalindicating if multithreading should be used. The default is no multithreading (parallel = FALSE).- cores
integerindicating the number of threads to be used whenparallel = TRUE. The default iscores=2, meaning that 2 cores are used.
Details
Binary AUC computation according to Fawcett (2006) doi:10.1016/j.patrec.2005.10.010 .
References
Fawcett, T. (2006). An introduction to ROC analysis. Pattern Recognition Letters, 27(8), 861–874. doi:10.1016/j.patrec.2005.10.010