calcDev | R Documentation |
Computation of the deviance, i.e., two times the negative log likelihood for risk estimates in a binary classification problem.
calcDev(preds, y)
preds |
Numeric vector of predictions |
y |
True outcomes |
The deviance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.