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
Metadata
Release files for taug 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| taug-0.1.0.tar.gz | 8.0 kB | Without provenance | Details for taug-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| taug-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for taug-0.1.0-py3-none-any.whl |
Total release size: 16.4 kB
Release files / taug-0.1.0.tar.gz
| Download URL | taug-0.1.0.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5edf65d07827e3c25e880511321bbc79bef68fdaeee09d1fd03b9beb40426b5f
|
|
BLAKE2b-256 checksum How to use checksums |
dde617ee2a80b8ec258f1694fffb691d156f6697e6e32f0bda88ad5f21b226df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / taug-0.1.0-py3-none-any.whl
| Download URL | taug-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f18a1963832121f505d548e7bd9a44ca76684ea419d0931ed46da509ab385f7f
|
|
BLAKE2b-256 checksum How to use checksums |
06ae1bac818bf75e386b4cb288063e175360ed5228493fca4de4507e29f4196c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for taug 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.