Skip to main content

Simplify time series forecasting

Project description

ML_pipeline_influxdb

Exemple of LSTM + DECOMPOSITION prédiction :

LSTM PRED

Please refer to [https://www.influxdata.com/blog/how-supralog-built-an-online-incremental-machine-learning-pipeline-with-influxdb-for-capacity-planning/] for further informations.

Why decomposition ?

As describe in the article above, the aim of the project is to create a module able to forecast values of severals time series that could deferred in nature.
One of the main problem in Deep Neural Network is to tune hyper-parameters (as for example the number of neurones ...) especially for multi-step ahead predictions.
Decomposing the signal allow us to apply a single model for all the time series without spending time on hyper parameters tunning.
Here below the results of this pre-processing process on differents signals :

First_page_1

First_page_1

First_page_1

For the experiments above, the same LSTM model was applied on three differents signals with the same hyper parameters. For the first two signals the accuracy is almost the same.

But for the third signal, the model without decomposition seems to reach a local minimum during the training and then the forecated values converge to the mean value while the model with decomposition is way more accurate.
(the dataset of the third experiment is the Minimum Daily Temperatures Dataset available here : [https://machinelearningmastery.com/time-series-datasets-for-machine-learning/])
Here the results of the three experiments :
First_page_1 Note : this method also seems to disminuish the variance of the predicted values.( ie for the same dataset, the LSTM with decomposition is more likely to give the same forecasted value)

Project details


Download files

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

Files for gtsfutur, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size GTSFutur-0.0.1-py3-none-any.whl (9.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size GTSFutur-0.0.1.tar.gz (8.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page