Following the example
library(yardstick)
library(dplyr)
library(ggplot2)
hpc_cv %>%
filter(Resample == "Fold01") %>%
roc_curve(obs, VF:L) %>%
autoplot()
Displays the roc curves, however, I would also like the individual aucs for the accompanying diagram, however, if I pass like this:
hpc_cv %>%
filter(Resample == "Fold01") %>%
roc_auc(obs, VF:L)
I get some type of aggregate as opposed to individual rocs - do I need to write a function to extract these or is there a different function to utilize ?