Skip to main content

Time Series Forecasting and Data Augmentation using Deep Generative Models

Project description

TAug :: Time Series Data Augmentation using Deep Generative Models

Note!!! The package is under development so be careful for using in production!

Features

  • Time Series Data Augmentation using Deep Generative Models
  • Visualizing the Latent Space of Generative Models
  • Time Series Forecasting using Deep Neural Networks

Installation

You can install the last stable version using pip

pip install taug

How to Use

Augmentation Guide

Create an augmenter

from taug.augmenters.vae import LSTMVAE
from taug.augmenters.vae import VAEAugmenter

# create a variational autoencoder
vae = LSTMVAE(series_len=100)
# use the created vae as an augmenter
augmenter = VAEAugmenter(vae)

The above code uses the default settings for the LSTM-VAE model. You can customize its architecture or use your own model for encoder and decoder. Note currently we only support Keras models.

Train the augmenter

augmenter.fit(data, epochs=64)

Generate new time series!

A few strategy for sampling have been implemented.

Sampling from whol
augmenter.sample(n=1000)

Forecasting Guide

[todo] Forecasting guide will be here!

Supported Augmenters

Supported models for augmentation currently are as follows:

Model Type Supported Time Series Description
LSTMVAE Variational Autoencoder Univariate, fixed length A Variational Autoencoder with stacked LSTM layers for encoder and decoder

Supported Forecasters

Supported models for time series forecasting are as follows:

Contributors

The list of the current contributors:

  • Sasan Barak
  • Amirabbas Asadi

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

taug-0.1.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

taug-0.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file taug-0.1.0.tar.gz.

File metadata

  • Download URL: taug-0.1.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

File hashes

Hashes for taug-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5edf65d07827e3c25e880511321bbc79bef68fdaeee09d1fd03b9beb40426b5f
MD5 109699a74deeb1e87c207372ab5755c0
BLAKE2b-256 dde617ee2a80b8ec258f1694fffb691d156f6697e6e32f0bda88ad5f21b226df

See more details on using hashes here.

File details

Details for the file taug-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: taug-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

File hashes

Hashes for taug-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f18a1963832121f505d548e7bd9a44ca76684ea419d0931ed46da509ab385f7f
MD5 19d4cc5a21e64eaf961c5700abb380f3
BLAKE2b-256 06ae1bac818bf75e386b4cb288063e175360ed5228493fca4de4507e29f4196c

See more details on using hashes here.

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