Coder Social home page Coder Social logo

zredlined / timegan-pytorch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from birdx0810/timegan-pytorch

0.0 0.0 0.0 2.19 MB

This repository holds the code for the reimplementation of TimeGAN (Yoon et al., NIPS2019) using PyTorch

License: MIT License

Python 37.24% Shell 0.80% Jupyter Notebook 61.96%

timegan-pytorch's Introduction

timegan-pytorch

This repository holds the code for the reimplementation of TimeGAN (Yoon et al., NIPS2019) using PyTorch. Some of the code was derived from the original implementation here.

Getting Started

Installing Requirements

This implementation assumes Python3.8 and a Linux environment with a GPU is used.

cat requirements.txt | xargs -n 1 pip install --upgrade

Directory Hierarchy

data/                         # the folder holding the datasets and preprocessing files
  ├ data_preprocessing.py     # the data preprocessing functions
  └ stock.csv                 # the example stock data derived from the original repo
metrics/                      # the folder holding the metric functions for evaluating the model
  ├ dataset.py                # the dataset class for feature predicting and one-step ahead predicting
  ├ general_rnn.py            # the model for fitting the dataset during TSTR evaluation
  ├ metric_utils.py           # the main function for evaluating TSTR
  └ visualization.py          # PCA and t-SNE implementation for time series taken from the original repo
models/                       # the code for the model
output/                       # the output of the model
main.py                       # the main code for training and evaluating TSTR of the model
requirements.txt              # requirements for running code
run.sh                        # the bash script for running model
visualization.ipynb           # jupyter notebook for running visualization of original and synthetic data

timegan-pytorch's People

Contributors

birdx0810 avatar zredlined avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.