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.
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 metaforecast-0.3.0.tar.gz.
File metadata
- Download URL: metaforecast-0.3.0.tar.gz
- Upload date:
- Size: 15.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
929addac25f773b6bc8ab545f954132347dc447ec02bb6def3a147de32f88f0d
|
|
| MD5 |
d03809e5491498b848f2694b185156ac
|
|
| BLAKE2b-256 |
174136502976b4498435343bbb81fb93e304adfb5baef9e5efb610ac29ddbc3f
|
File details
Details for the file metaforecast-0.3.0-py3-none-any.whl.
File metadata
- Download URL: metaforecast-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc4454a13023df724116fa12c50eaffe449738986929267edf0fd83d8ff318c0
|
|
| MD5 |
639d4f7a47796d1a035e9c4c76a66ab1
|
|
| BLAKE2b-256 |
a0ba2c5126792e7e50fe248dc91915de27cbb688396ab713c6696e6c60a4722e
|