Skip to content

Two Generalized Energy Based Models for time-series generation. Thesis for MSc Computational Statistics and Machine Learning program at UCL.

Notifications You must be signed in to change notification settings

ConnorWatts/time-gebm

Repository files navigation

Time-GEBM

Introduction

This repository contains the work for my MSc Computational Statistics and Machine Learning thesis at UCL. In this project I develop two Generalized Energy Based Models for time-series generation. The first extends the attention-based GAN TTS-GAN and the second the recurrent-based GAN C-RNN-GAN. The report can be found in the report.pdf file.

t-SNE results for the attention-based GEBM on chickenpox dataset.

Chickenpox

References

Alot of the code/work in this repo is from the Pytorch implementation of the original paper on GEBM, which can be found here. Similarly the code for TTS-GAN can be found here and for C-RNN-GAN here. In the source material credit has been given when external code has been utilised.

Requirements

python==3.6.2 or newer
torch==1.4.0 or newer
torchvision==0.5.0 or newer
numpy==1.17.2  or newer

All dependencies can be installed using:

pip install -r requirements.txt

How to use

Training

To train run the below;

python main.py --config=configs/training.yaml --dataset_type=%dataset_name% --features=%features% --Z_dim=%Z_dim% --generator=%generator% --discriminator=%discriminator%

Please ensure %dataset_name% in ['Stock','Energy','Chickenpox']. Depending on the %dataset_name% the %features% will then be either [5,28,20]. If training the attention-based network then %Z_dim% = 100 and %generator%, %discriminator% = 'tts'. If training the recurrant-based network then %Z_dim% = [32,20] and %generator%, %discriminator% = 'crnn'.

Sampling

python main.py --config=configs/sampling.yaml --dataset_type=%dataset_name% --features=%features% --Z_dim=%Z_dim% --generator=%generator% --discriminator=%discriminator% --latent_sampler=langevin --lmc_gamma=0.0001


About

Two Generalized Energy Based Models for time-series generation. Thesis for MSc Computational Statistics and Machine Learning program at UCL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy