calcBrier {logicDT}R Documentation

Calculate the Brier score

Description

Computation of the Brier score, i.e., the mean squared error for risk estimates in a binary classification problem.

Usage

calcBrier(preds, y)

Arguments

preds

Numeric vector of predictions

y

True outcomes

Value

The Brier score


[Package logicDT version 1.0.4 Index]