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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metaforecast-0.3.0.tar.gz (15.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metaforecast-0.3.0-py3-none-any.whl (12.5 MB view details)

Uploaded Python 3

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

Hashes for metaforecast-0.3.0.tar.gz
Algorithm Hash digest
SHA256 929addac25f773b6bc8ab545f954132347dc447ec02bb6def3a147de32f88f0d
MD5 d03809e5491498b848f2694b185156ac
BLAKE2b-256 174136502976b4498435343bbb81fb93e304adfb5baef9e5efb610ac29ddbc3f

See more details on using hashes here.

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

Hashes for metaforecast-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc4454a13023df724116fa12c50eaffe449738986929267edf0fd83d8ff318c0
MD5 639d4f7a47796d1a035e9c4c76a66ab1
BLAKE2b-256 a0ba2c5126792e7e50fe248dc91915de27cbb688396ab713c6696e6c60a4722e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 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