This project was part of the course "Applied Machine Lerning for Digital Health" at Hasso Plattner Instute in the summer term 2020.
The aim of this project is to teach generative adversarial networks (GANs) to generate synthetic sensor data, which later are used to improve human activity recognition (HAR) classifiers.
This project utilizes the MotionSense Dataset to train GANs able to generate sensor data for the activities:
- standing
- walking
- jogging
Because the training of GANs are very hard and involves many trials, architectural design and parameter changes, this project was designed to adapt to this challenges.
Centerpieces of this project are the components:
- GanTrainer: Handles training and validation datasets, trains and evaluates GANs, saves the best GANs
- GanEvaluator: Handles training and test datasets, loads saved GANs and evaluates them
make sure you are in sensor-data-gans
start the python environment with all dependencies:
pipenv shell
start notebook or jupyater lab:
jupyter notebook
jupyter notebook
For training please check notebook files:
For evaluation please check notebook files: