get_tjur: Compute the coefficient of discrimination.

Description Usage Arguments

Description

Compute Tjur's R-squared. See https://doi.org/10.1198/tast.2009.08210

Usage

1
get_tjur(y_true, y_pred)

Arguments

y_true

true binary labels in binary label indicators

y_pred

target scores, can either be probability estimates of the positive class, confidence values, or binary decisions.


dhimmel/hetior documentation built on May 15, 2019, 8:22 a.m.