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 Dec. 17, 2024, 6:16 p.m.