calcBrier {logicDT} | R Documentation |
Computation of the Brier score, i.e., the mean squared error for risk estimates in a binary classification problem.
calcBrier(preds, y)
preds |
Numeric vector of predictions |
y |
True outcomes |
The Brier score