Description Usage Arguments Value Examples
Calculate the Test-AUC
1 | test_auc(fit)
|
fit |
A caret logistic regression model |
The AUC value as numeric vector with length 1
1 2 3 4 5 | data(pedis)
X_y <- prepare_X_y(pedis, outcome = "minor_amputation", vars = c("p", "d"))
folds <- create_folds(y = X_y$y)
fit <- train_pedis(X = X_y$X, y = X_y$y, folds = folds)
test_auc(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.