Nothing
# test-classification.R
test_that("aucroc function works correctly", {
set.seed(0)
a <- sample(c(TRUE, FALSE), 50, replace = TRUE)
p <- runif(50) |> round(2)
p[c(7, 8, 22, 35, 40, 41)] <- 0.5
expect_snapshot(aucroc(a, p))
# aucroc(a, p)$auc
# yardstick::roc_auc_vec(factor(a), p)
# pROC::roc(a, p) |> pROC::auc()
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.