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 time series forecasting and got created for a master thesis, University of Marburg, June, 2020.

Contents

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

Description

Forecasting seasonal univariate time series data is a major challenge. The seasonality of a time series can be analytically investigated with Fourier or multiresolution theory. There are forecasting procedures using a Fourier approach or a multiresolution predic- tion algorithm which use aggregation for that task. Different wavelet algorithms for time series forecasting were proposed in theory with promising potential. Since it could be shown that wavelets recognize time localized frequency components, the question is if they are suitable to model and forecast seasonal time series. This work imple- ments a wavelet forecasting approach called the multiresolution forecasting approach and examines its potential to forecast seasonal univariate time series. The performance of the multiresolution forecasting approach is then compared to a Fourier and an ag- gregation method. Furthermore, the results from a selection of robust and automated forecasting procedures can be found in the first appendix to provide a broader overview. The thesis presents a wavelet preprocessing combined with linear and nonlinear forecast- ing methods. A special form of the wavelet transformation is used in order to extract features from a univariate time series. These features carry different frequency infor- mation over varying time periods. The features are processed in linear and nonlinear methods to produce one-step forecasts. Multi-step forecasts are computed by applying the one-step forecast procedure recursively. The results are important for practical purposes, since there are many use cases for seasonal time series forecasting, for example for workforce management. The evaluation is done with appropriate quality measures and visualization techniques. For comparison, the four forecasting methods are applied to three datasets. The re- sulting forecasts of the presented multiresolution approach can compete with those of state-of-the-art methods.

Use cases

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

alt text alt text alt text alt text

alt text alt text alt text alt text alt text alt text alt text alt text

Installation

Execute following command in a terminal:

pip install MRFPY

Documentation

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

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.0.tar.gz (27.4 kB view hashes)

Uploaded Source

Built Distribution

MRFPY-1.0.0-py3-none-any.whl (29.1 kB view hashes)

Uploaded Python 3

Supported by

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