Compute Tjur's R-squared. See https://doi.org/10.1198/tast.2009.08210
1 | get_tjur(y_true, y_pred)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.