Published September 25, 2025 | Version 1.3.0
Technical note Open

k-diagram: Technical Report — Derivations and Details

  • 1. ROR icon Central South University

Description

This technical report provides the detailed mathematical foundations for the k-diagram Python package, a novel toolkit for visualising and diagnosing probabilistic forecasts.

This document serves as a citable supplement and technical appendix to the main JOSS paper, "k-diagram: Rethinking Forecasting Uncertainty via Polar-based Visualisation". It contains the formal derivations and equations for the package's core visualisation methods, including:

  • Score calculation, normalisation, and polar coordinate mapping.
  • Formulations for key plots such as coverage evaluation, error violins, velocity diagrams, polar heatmaps, and regression performance charts.
  • The definition of the pinball loss for quantile forecast evaluation.

This report is essential for researchers, developers, and practitioners who wish to gain a deeper theoretical understanding of the diagnostic tools provided by k-diagram.

  • k-diagram GitHub Repository: https://github.com/earthai-tech/k-diagram
  • k-diagram Documentation: https://k-diagram.readthedocs.io/

Files

k-diagram.tech-report.pdf

Files (243.5 kB)

Name Size Download all
md5:0b2f55033a805cf6bd818f8db7b518a3
243.5 kB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/earthai-tech/k-diagram (URL)

Dates

Issued
2025-09-25

Software

Repository URL
https://github.com/earthai-tech/k-diagram
Programming language
Python , Python console
Development Status
Active