A lightweight Python framework for rigorous and statistically grounded forecast evaluation, with baseline comparison, horizon-stratified analysis, and Diebold–Mariano testing.
Project description
forecastEval
forecastEval is an open-source Python library that provides a lightweight and unified framework for rigorous evaluation of time-series forecasts.
The library is designed to address common shortcomings in forecasting practice, including insufficient baseline comparison, over-reliance on aggregated error metrics, and lack of statistical validation of performance differences.
Key Features
-
Baseline-aware evaluation
- Automatic comparison against persistence (naïve) and seasonal naïve baselines
- Mean Absolute Scaled Error (MASE) and skill scores for interpretable performance assessment
-
Horizon-stratified analysis
- User-defined forecast horizon windows
- Detection of horizon-dependent performance degradation
-
Statistical validation
- Diebold–Mariano test for forecast comparison
- Autocorrelation-adjusted variance estimation
-
Interpretative reporting
- Clear PASS / FAIL recommendations for model deployment
- Human-readable console summaries
-
Interactive HTML reports
- Collapsible sections, visual summaries, and horizon-wise breakdowns
Installation
pip install forecastEval
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file forecasteval-0.2.4.tar.gz.
File metadata
- Download URL: forecasteval-0.2.4.tar.gz
- Upload date:
- Size: 27.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce8acf629ad5f9298e9f5a88d3daeaef72c91ae0d1dc8dc99beec2e48f783fa6
|
|
| MD5 |
890ca9d382c2920dc5b4d70cd455d34c
|
|
| BLAKE2b-256 |
4cbbf28516a44324ba5df99b56bda000a47ffe0e7fa313dadc736997a1fb8ab2
|
File details
Details for the file forecasteval-0.2.4-py3-none-any.whl.
File metadata
- Download URL: forecasteval-0.2.4-py3-none-any.whl
- Upload date:
- Size: 28.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1550a99bf2075b2c0476eaadef7cae7a57e9537f9c101545a81d635941f08ed
|
|
| MD5 |
c0648656021bdab9719ad3b01f5c6925
|
|
| BLAKE2b-256 |
a79d5f57f99d9499ad26c6f7e871a8427e5470bd68fa58886efa76cc4a24ed7b
|