Skip to contents

Negative ROC AUC

Usage

neg_roc_auc(y, y_hat)

Arguments

y

A numeric vector with binary entries, the true outcomes.

y_hat

A numeric vector with continuous entries, the predicted outcomes.

Value

Numeric scalar, the negative ROC AUC.