metaforecast
metaforecast is a Python package for time series forecasting using meta-learning and data-centric techniques.
This package implements various techniques to improve forecasting accuracy based on dynamic model combination, data augmentation, algorithm selection, and adaptive learning, building upon Nixtla’s awesome ecosystem of state-of-the-art forecasting methods.
Features
metaforecast currently consists of five main modules:
- Dynamic Ensembles: Combining multiple models with adaptive ensemble techniques, including online learning (exponential, polynomial, and related updates), sliding-window selection, and meta-learning-based weighting (ADE).
- Synthetic Time Series Generation: Creating realistic synthetic time series data for robust model training and testing. Includes pure generators, semi-synthetic methods, transformation-based augmentation, and a callback for online data augmentation.
- Long-Horizon Meta-Learning: Instance-based meta-learning for multi-step forecasting.
- Algorithm Configuration and Selection (COSEAL): Meta-learning methods for selecting forecasting algorithms and their configurations, including MetaARIMA and ActiveTesting.
- Evaluation: Series-wise cross-validation splitters and aspect-based accuracy analysis with ModelRadar (horizon, groups, anomalies, hard series, and ROPE comparisons).
Installation
You can install metaforecast using pip:
pip install metaforecast
[Optional] Installation from source
To install metaforecast from source, clone the repository and run the following command:
git clone https://github.com/vcerqueira/metaforecast
cd metaforecast
pip install -e .
Documentation
Check the documentation for the API reference and module descriptions. You can get started with a few tutorials.
⚠️ WARNING
metaforecast is in the early stages of development. The codebase may undergo significant changes. If you encounter any issues, please report them in GitHub Issues
License
metaforecast is dual-licensed.
- AGPL-3.0-or-later for open-source use. You may use, modify, and share the source. If you distribute a modified version or run one in production, you must make the corresponding source available.
See LICENSE for the full terms.
Metadata
Release files for metaforecast 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| metaforecast-0.3.5.tar.gz | 15.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| metaforecast-0.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.7 MB
Release files / metaforecast-0.3.5.tar.gz
| Download URL | metaforecast-0.3.5.tar.gz |
|---|---|
| Size | 15.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67ef7b665b9ef9a64257e34c66dcea7bf3dcd2abd2226d4ae5c3e1ca49190853
|
|
BLAKE2b-256 checksum How to use checksums |
6d0a18c09e697d50c3594c9e25bd64815a9bfff33b431f1951dbbeffb345070c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|
Release files / metaforecast-0.3.5-py3-none-any.whl
| Download URL | metaforecast-0.3.5-py3-none-any.whl |
|---|---|
| Size | 12.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ccd5de84e8fa086b7778c3aa9991de806b0fef2d9ec436e14eb1bcd2c87c422d
|
|
BLAKE2b-256 checksum How to use checksums |
86085dc58d79643f72a73a5ef39a8a6b03dc2885b8407d02e2871f94b73688da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|