Forecast Reconciliation in Python
Project description
FoRecoPy: Forecast Reconciliation in Python 
Forecast reconciliation is a post-forecasting process aimed at improving the accuracy and coherence of forecasts for a system of linearly constrained time series (e.g., hierarchical, grouped, or temporal structures).
The FoRecoPy package is inspired by the R package FoReco and brings similar functionality to Python. It is designed for researchers, practitioners, and data scientists who use Python for time series forecasting and want access to state-of-the-art reconciliation methods.
Future versions will expand the scope to include the cross-temporal framework, non-negative constraints and probabilistic reconciliation.
Installation
Make sure to have a working JAX installation (please, follow these instructions).
To install the package from PyPI, call:
pip install forecopy
To install the latest GitHub , just call the following on the command line:
pip install git+https://github.com/danigiro/FoRecoPy@<RELEASE>
Features
- Optimal combination reconciliation via projection and structural approaches
- Tools for both cross-sectional (
csrec) and temporal (terec) reconciliation - Different covariance matrix approximation
- Support for custom aggregation or constraints matrices
- Option to enforce non-negativity on reconciled forecasts
- Efficient solvers suitable for high-dimensional problems
Quick Examples
Examples of cross-sectional and temporal forecast reconciliation are available here
License
MIT License. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
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 forecopy-0.1.1.tar.gz.
File metadata
- Download URL: forecopy-0.1.1.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46053488aec26e2a6bc2da5ecfafe7ce8513492716af9feda61dce0fe396c43f
|
|
| MD5 |
f18923a1a2a635577b6fa52dc58f0587
|
|
| BLAKE2b-256 |
00ab0b1a52cb9581201bf20378fe38be115edf3aebfb9dca1439391a958e5372
|
Provenance
The following attestation bundles were made for forecopy-0.1.1.tar.gz:
Publisher:
pypi.yml on danigiro/FoRecoPy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
forecopy-0.1.1.tar.gz -
Subject digest:
46053488aec26e2a6bc2da5ecfafe7ce8513492716af9feda61dce0fe396c43f - Sigstore transparency entry: 602177512
- Sigstore integration time:
-
Permalink:
danigiro/FoRecoPy@49541a1b7fadf7c4c2156caa8862d047dbf97350 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/danigiro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@49541a1b7fadf7c4c2156caa8862d047dbf97350 -
Trigger Event:
release
-
Statement type:
File details
Details for the file forecopy-0.1.1-py3-none-any.whl.
File metadata
- Download URL: forecopy-0.1.1-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
755becabc1aab36a17141ce496fd1593036a571a0c293e332cb79b7b695dc34d
|
|
| MD5 |
726e05f71fa7ba0e98e69d930a974918
|
|
| BLAKE2b-256 |
7ce8a228168226659fb9591c0058ed39c714a2db373d9bbb936b7cd4d21e1fab
|
Provenance
The following attestation bundles were made for forecopy-0.1.1-py3-none-any.whl:
Publisher:
pypi.yml on danigiro/FoRecoPy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
forecopy-0.1.1-py3-none-any.whl -
Subject digest:
755becabc1aab36a17141ce496fd1593036a571a0c293e332cb79b7b695dc34d - Sigstore transparency entry: 602177513
- Sigstore integration time:
-
Permalink:
danigiro/FoRecoPy@49541a1b7fadf7c4c2156caa8862d047dbf97350 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/danigiro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@49541a1b7fadf7c4c2156caa8862d047dbf97350 -
Trigger Event:
release
-
Statement type: