When to use it
Use to evaluate the accuracy and calibration of probabilistic predictions.
Required Inputs
- Predicted probabilities (0.0 to 1.0)
- Actual binary outcomes (0 or 1)
Calculate Brier score, Reliability, Resolution, and Uncertainty components to measure the accuracy of probabilistic forecasts and LLM confidence calibration.
Run this test live in StatLab npm i @statlab/coreUse to evaluate the accuracy and calibration of probabilistic predictions.
BS = (1/N) Σ (f_i - o_i)²
from sklearn.metrics import brier_score_loss
bs = brier_score_loss(y_true, y_probs)
print(f"Brier Score = {bs:.4f}")
library(scoringUtils)
brier_score(y_true, y_probs)
import { brierScore } from '@statlab/core';
const bs = brierScore(yProbs, yTrue);
Continuous A/B testing, statistical telemetry analysis, and automated feedback loops for live backend services.
Explore VoxelPulse →Fixed-price AI release-readiness sprints, automated regression testing, and reliability statistical benchmarks.
Explore VoxelAssurance →Explore static calculators across the StatLab inference engine suite.