calcDev {logicDT} | 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