| score_auc | R Documentation |
Internal function to compute the AUC of binomial models within preference_order(). Used within f_binomial_glm(), f_binomial_gam(), and f_binomial_rf(). This function is build for speed and it does not check the inputs.
score_auc(o = NULL, p = NULL, ...)
o |
(required, numeric vector) Binomial observations (values 0 and 1). Default: NULL |
p |
(required, numeric vector) Prediction of binomial model in the range 0-1. Default: NULL |
... |
(optional) Internal args (e.g. |
numeric: Area Under the ROC Curve
Other modelling_tools:
case_weights(),
model_formula(),
score_cramer(),
score_r2()
score_auc(
o = c(1, 1, 1, 1, 0, 0, 0),
p = c(1, 0.8, 0.7, 0.6, 0.5, 0.6, 0.7)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.