简体   繁体   中英

aucRoc and roc functions in the caret R package

I am reading the caret R package's paper on the Journal of Statistical Software link , and on pages 15-16, the author introduced the use of calculating ROC and AUC. However, since version 5.13-037 these functions are no longer available (see here ). I think they're convenient functions but not sure why they're deprecated.... Any suggestions on alternative approaches/functions for ROC and AUC? Thanks!

You can use pROC package for example:

library(pROC)
data(aSAH)
# Basic example with 2 roc objects
roc1 <- roc(aSAH$outcome, aSAH$s100b)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM