A tensorflow implementation of GAN ( exactly InfoGAN or Info GAN ) to one dimensional ( 1D ) time series data. We've applied InfoGAN model (https://arxiv.org/abs/1606.03657 ) to one dimensional time series data for classifying time series data through unsupervised way.
- tensorflow >= rc0.10
- sugartensor >= 0.0.1
Unfortunately, I cannot share sample time series data but you can use any csv formatted time series data as following.
time,series1,series2
1,11.1,21.1
2,12.2,22.2
3,13.0,23.1
.
.
.
This file should be saved at 'asset/data/sample.csv' before you train the network.
Execute
python train.py
to train the network. You can see the result ckpt files and log files in the 'asset/train' directory. Launch tensorboard --logdir asset/train/log to monitor training process.
Execute
python generate.py
to generate sample time series data. The graph image of generated time series data will be saved in the 'asset/train' directory.
This graph of time series was generated by InfoGAN network. You may know that it's difficult to discriminate generated time series data from real time series data.
Real time series data
Fake time series data
Decomposed time series data
- Original GAN tensorflow implementation
- InfoGAN tensorflow implementation
- EBGAN tensorflow implementation
Namju Kim (njkim@jamonglab.com) at Jamonglabs Co., Ltd.