powered by
Computation of the Brier score, i.e., the mean squared error for risk estimates in a binary classification problem.
calcBrier(preds, y)
The Brier score
Numeric vector of predictions
True outcomes