brier_score: Brier Score

View source: R/class_error.R

brier_scoreR Documentation

Brier Score

Description

Calculate the Brier Score for classification:

Usage

brier_score(true, estimated.prob)

Arguments

true

Numeric vector, 0, 1: True labels

estimated.prob

Numeric vector, [0, 1]: Estimated probabilities

Details

BS = \frac{1}{N} \sum_{i=1}^{N} (y_i - p_i)^2

Author(s)

E.D. Gennatas


egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.