compute_roc: Compute ROC and PR curve points

Description Usage Details

View source: R/mcmcRocPrc.R

Description

Faster replacements for calculating ROC and PR curve data than with ROCR::prediction() and ROCR::performance()

Usage

1
2
3

Details

Replacements to use instead of a combination of ROCR::prediction() and ROCR::performance() to calculate ROC and PR curves. These functions are about 10 to 20 times faster when using mcmcRocPrc() with curves = TRUE and/or fullsims = TRUE.

See this issue on GH (ShanaScogin/BayesPostEst#25) for more general details.

And here is a note with specific performance benchmarks, compared to the old approach relying on ROCR.


BayesPostEst documentation built on Nov. 11, 2021, 9:07 a.m.