Skip to main content

Timeseries forecasting with wavelets

Project description

MRFPY

MRFPY: Multi Resolution Forecasting in Python

MRFR: Multi Resolution Forecasting in R

Multi Resolution Time Series Forecasting (with wavelets)

This is a Python package for univariate time series forecasting. There is also a R version of it. They are similar in naming and handling.

Contents

  1. Description
  2. Use cases
  3. Installation
  4. References

Description

This github repository provides an implementation of the algorithm of the workgroup around F. Murtagh. It uses a redundant Haar wavelet transform to decompose a time series in its wavelet and the corresponding smooth approximation features. Those features are processed in linear or nonlinear methods in order to yield a one-step forecast. Multi-step forecasts are obtained recursively. Currently, only univariate time series can be forecasted. There is ongoing work for multivariate time series forecasting. Find the theoretical work from Murtagh et al. in the references.

You can create one-step forecasts with various linear and nonlinear methods using wavelet features trying out different possibilites. One-step forecasts can be created by directly accessing the methods specific function call or the abstract method "onestep". Multi-step forecasts are computed recursively and can be called with the abstract method "multistep". Evaluation studies of one specific setting can be computed with the rolling window function. A complete model selection with nested cross validation can be called with the function model_selection.

Use cases

4 use cases: Callcenter, Electricity demand, oil prices and stock values.

Callcenter Electricity Prices Stox

CallcenterH1 CallcenterO14 ElectricityH1 ElectricityO14 PricesH1 PricesO14 StoxH1 StoxO14

Installation

Execute following command in a terminal:

pip install MRFPY

References

Aussem, A., Campbell, J., and Murtagh, F. (1998) Wavelet-based feature extraction and decomposition strategies for financial forecasting, International Journal of Computational Intelligence in Finance, 6 (5-12).

Aussem, A., Campbell, J., and Murtagh, F.: Waveletbased Feature Extraction and Decomposition Strategies for Financial Forecasting. International Journal of Computational Intelligence in Finance, 6:5–12. 1998.

Benaouda, D., Murtagh, F., Starck, J.-L., and Renaud, O.: Wavelet-based Nonlinear Multiscale Decomposition Model for Electricity Load Forecasting. Neurocomputing, 70(1-3):139–154. doi:10.1016/j.neucom.2006.04.005. 2006.

Gonghui, Z., Starck, J.-L., Campbell, J., and Murtagh, F.: The Wavelet Transform for Filtering Financial Data Streams. Journal of Computational Intelligence in Finance, 7(3):18–35. 1999.

Murtagh, F., Starck, J.-L., and Renaud, O.: On Neuro-Wavelet Modeling. Decision Support Systems, 37(4):475–484. doi:10.1016/S0167-9236(03)00092-7. 2004.

Renaud, O., Starck, J.-L., and Murtagh, F.: Prediction based on a Multiscale Decomposition. International Journal of Wavelets, Multiresolution and Information Processing, 1(2):217–232. doi:10.1142/S0219691303000153. 2003.

Renaud, O., Starck, J.-L., and Murtagh, F.: Wavelet-based combined Signal Filtering and Prediction. IEEE Transactions on Systems, Man, and Cybernetics, Part B (Cybernetics), 35(6):1241–1251. doi:10.1109/TSMCB.2005.850182. 2005.

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

MRFPY-1.0.1.tar.gz (52.7 kB view details)

Uploaded Source

Built Distribution

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

MRFPY-1.0.1-py3-none-any.whl (52.8 kB view details)

Uploaded Python 3

File details

Details for the file MRFPY-1.0.1.tar.gz.

File metadata

  • Download URL: MRFPY-1.0.1.tar.gz
  • Upload date:
  • Size: 52.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for MRFPY-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4474829fc3206eb149207d2877db9adbbbcccb75ee7529c0f344eb9511dc960f
MD5 891ce5000e189568953f8367e8a50277
BLAKE2b-256 44bb4585a607a120aff665e5c281fd4a344417bea023b8a918ecbe57606e5eb4

See more details on using hashes here.

File details

Details for the file MRFPY-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: MRFPY-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 52.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for MRFPY-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60f383b2af7d3bdc37bee53ded689bdc86421349625b04cc1230f504552d17c5
MD5 693337279800bea992327dbe388d4e95
BLAKE2b-256 f665945bb531123c2681ef7da5eba991c74a7e221a47f15ea26863489d4ee96a

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