Skip to content

Metrics r2

github-actions[bot] edited this page Aug 29, 2026 · 33 revisions

Development build. This page describes main, not a released package. The latest published Lodestar.Metrics is 0.3.0 — read its documentation.

R2

The coefficient of determination: how much better the model is than always predicting the mean, as a unitless score.

Members

Member What it does
R2.Score One score for the whole prediction: 1 minus the residual variance over the truth's variance.
R2.PerOutput One score per output, unreduced.
R2.VarianceWeighted One score, each output counted in proportion to how much its own truth varies.

Lodestar

Project

Clone this wiki locally