calcBrier: Calculate the Brier score

View source: R/utils.R

calcBrierR 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


logicDT documentation built on Jan. 14, 2023, 5:06 p.m.