Skip to main content

Python tool for time series forecasting

Project description

tsururu_logo

Tsururu – a time series forecasting strategies framework

Much attention is now paid to what models to use for time series forecasting, but not to how exactly to perform training and inference.

Tsururu is a Python-based library which aims at overcoming the aforementioned problems and provides a large number of multi-series and multi-point-ahead prediction strategies that can be used with any underlying model, including neural networks.

Also tsururu provides various preprocessing techniques.

Multi-series prediction strategies:

  • Local-modelling:
    • Individual model for each time series.
  • Global-modelling:
    • One model for all time series;
    • features made up of individual series do not overlap.
  • Multivariate-modelling:
    • One model for all time series;
    • features made up of individual series corresponding to the same time point are concatenated for all time series.

Multi-point-ahead prediction strategies:

  • Recursive:
    • one model for all points of the forecast horizon;
    • training: the model is trained to predict one point ahead;
    • prediction: a prediction is iteratively made one point ahead, and then this prediction is used to further shape the features in the test data.
  • Recursive-reduced:
    • one model for all points in the prediction horizon;
    • training: the model is trained to predict one point ahead;
    • prediction: features are generated for all test observations at once, unavailable values are replaced by NaN.
  • Direct:
    • individual models for each point in the prediction horizon.
  • MultiOutput (MIMO - Multi-input-multi-output):
    • one model that learns to predict the entire prediction horizon.
    • Also, this strategy supports the presence of exogenous features (only for local- or global-modelling).
  • FlatWideMIMO:.
    • mixture of Direct and MIMO, fit one model, but uses deployed over horizon Direct's features.

Installation

To install tsururu via pip you can use:

pip install -U tsururu

Quick tour

For usage example please see:

More examples are coming soon.

Project details


Download files

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

Source Distribution

tsururu-0.1.1.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

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

tsururu-0.1.1-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

Details for the file tsururu-0.1.1.tar.gz.

File metadata

  • Download URL: tsururu-0.1.1.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.8.5

File hashes

Hashes for tsururu-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f1ca9873c17f503b18f6d3f0a256c4aee5c8e814ffb27e4cc1430f3ac5f85f81
MD5 2f04cc70bf6bf06bee2f76496d107d0c
BLAKE2b-256 63b4e402d4389d75804e8736680871fc33eee3b6a0cb6083a2b6575167c1999f

See more details on using hashes here.

File details

Details for the file tsururu-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tsururu-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 38.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.8.5

File hashes

Hashes for tsururu-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8c3b51b5ab59b465ad68a78e843731dc32b7ccaf8151c669d70d2ded3759edfb
MD5 f8420b376d2828d22c9439d0479e6712
BLAKE2b-256 485b85b9f22fa79785fcf20cadc21bd0b2fd68fd18e1195188cfceeef6fb5a19

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page