calcDev {logicDT} | R Documentation |
Calculate the deviance
Description
Computation of the deviance, i.e., two times the negative log likelihood for risk estimates in a binary classification problem.
Usage
calcDev(preds, y)
Arguments
preds |
Numeric vector of predictions |
y |
True outcomes |
Value
The deviance
[Package logicDT version 1.0.4 Index]