View source: R/auc-train-test.R
Get area under the ROC curve for both training and test data.
1 | auc_train_test(model, train, test, truth, type = "response")
|
model |
Model object. |
train |
Training data. |
test |
Testing data. |
truth |
Ground-truth labels. |
type |
Type of predictions to be made; passed to predict. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.