Skip to contents

Discrimination assessment for binary classifier

Usage

assess_discrimination(
  y_true,
  y_pred,
  y_pred_ref = NULL,
  n_bootstrap = 1000L,
  confidence = 0.95,
  random_state = 42L
)

Arguments

y_true

Integer 0/1 vector.

y_pred

Predicted probabilities.

y_pred_ref

Optional reference-model probabilities for NRI/IDI.

n_bootstrap

Bootstrap reps for AUC CI.

confidence

Confidence level.

random_state

Seed.