Skip to main content

metaforecast

metaforecast

PyPi Version Documentation Status GitHub Downloads

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:

  1. 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).
  2. 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.
  3. Long-Horizon Meta-Learning: Instance-based meta-learning for multi-step forecasting.
  4. Algorithm Configuration and Selection (COSEAL): Meta-learning methods for selecting forecasting algorithms and their configurations, including MetaARIMA and ActiveTesting.
  5. 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.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for metaforecast 0.3.3
File Size Uploaded
metaforecast-0.3.3.tar.gz 15.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for metaforecast 0.3.3
File Interpreter ABI Platform
metaforecast-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 27.7 MB

Release files / metaforecast-0.3.3.tar.gz

Download URL metaforecast-0.3.3.tar.gz
Size 15.2 MB
Tags Source
SHA-256 checksum
How to use checksums
878ee05e621ebb7d28ba418aa26afe7be21ad56a0c721edd37bf8106726bf534
BLAKE2b-256 checksum
How to use checksums
ecde0a1e9d76dc0d2a886eab26f27a743d79242559744766d9c72d2dc7793b7c
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.3-py3-none-any.whl

Download URL metaforecast-0.3.3-py3-none-any.whl
Size 12.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
cb554afb0f6201388d7a7ddf8833cd5cb5475e03b227eb5cff51e2890e8d9df3
BLAKE2b-256 checksum
How to use checksums
63ff88e50d068e713478408e8795b5e11296616283d09c2b527f085698929413
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release history Release notifications | RSS feed

0.3.5

2 release files

0.3.4

2 release files

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page