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.7

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.7
File Size Uploaded Provenance Actions
metaforecast-0.3.7.tar.gz 15.3 MB Without provenance Details for metaforecast-0.3.7.tar.gz

Built distribution (wheel)

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

Total release size: 27.9 MB

Release files / metaforecast-0.3.7.tar.gz

Download URL metaforecast-0.3.7.tar.gz
Size 15.3 MB
Tags Source
SHA-256 checksum
How to use checksums
0cca0b5d0be4efa39a4b79f7b177c7d8ba7c9f6e0cabb6ca071c603e1e6bcbf1
BLAKE2b-256 checksum
How to use checksums
3b87485a22d77a70823e418fe8438190b6fd23968b6ef8c76671d81ba37f8cd0
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.7-py3-none-any.whl

Download URL metaforecast-0.3.7-py3-none-any.whl
Size 12.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7557c6146f638e83a7063cec101d5d5301d631a1ae363e53a5dfa86feb5adfcf
BLAKE2b-256 checksum
How to use checksums
239b33af69c27d873dd57d7c6abc6c178d515e08abea8b61253c9745fca75633
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Security for metaforecast 0.3.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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