
Compute area under the ROC curve between binomial observations and probabilistic predictions
Source:R/score_auc.R
score_auc.RdInternal 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.
Arguments
- 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.
function_nameforvalidate_arg_function_name, a precomputed correlation matrixm, or cross-validation args forpreference_order).
See also
Other modelling_tools:
case_weights(),
model_formula(),
score_cramer(),
score_r2()