DensityScoreResult._summary_table#

DensityScoreResult._summary_table()[source]#

Build the structured summary: one row per series, averaged over horizons.

Mean CRPS, mean log score, and the root mean squared error of the predictive mean per series, with the joint energy score in the notes; the notes also restate the orientation, which scores are exact, and that the averaging is for display only.

Return type:

SummaryTable

Returns:

The SummaryTable that summary(), str(), and the notebook renderer display.

Example

>>> import numpy as np
>>> rng = np.random.default_rng(0)
>>> paths, outcome = rng.standard_normal((2000, 4, 2)), rng.standard_normal((4, 2))
>>> table = DensityScore(paths, outcome).compute()._summary_table()
>>> table.columns
('series', 'mean CRPS', 'mean log score', 'RMSE')
>>> table.rows[0]
('y1', '0.4078', '1.1493', '0.6777')