Giter Club home page Giter Club logo

bigan's Introduction

System requirements: Python 3.7.1 Tensorflow 2.2.0 PyTorch 1.2.0 GPU - NVIDIA GeForce RTX 2080

JupyterNotebook: 6.0.3 ===============================Data============================================= All data initial files are in data folder. AirQuality- data->air->initial MIMIC- data->mimic->initial

===============================Data Preprocessing=============================== Run data_preporcessAir.ipynb for preprocessing AirQuality data Run data_preporcessMimic.ipynb for preprocessing AirQuality data All data preprocessed files are in data folder. AirQuality- data->air->preprocess MIMIC- data->mimic->preprocess

===============================Bi-GAN============================================= To run Bi-GAN for EHR dataset - Run "biGan/main_ganOrig.ipynb" For training model- Set train=True

For Imputation Testing model-
	Set evalImp=True
	Set missingRate=10 or 20 or 30 or 40 or 50

For Prediction Testing model-
	Set evalPred=True
	Set pred_len=8 or 7 or 6 or 5

To run Bi-GAN for air quality and MIMIC - Run "biGan/main_ganOrigActivity.ipynb" Input Arguments to be set - For AirQuality dataset, set air=True For MIMIC dataset, set mimic=True

For training model-
	Set train=True

For Imputation Testing model-
	Set evalImp=True
	Set missingRate=10 or 20 or 30 or 40 or 50

For Prediction Testing model-
	Set evalPred=True
	Set pred_len=8 or 7 or 6 or 5

===============================BRITS-I============================================= BRITS-I To run BRITS-I for EHR dataset - Run "britsI/main - original.ipynb" For training model- Set train=True

For Imputation Testing model-
	Set evalImp=True
	Set missingRate=10 or 20 or 30 or 40 or 50

For Prediction Testing model-
	Set evalPred=True
	Set pred_len=8 or 7 or 6 or 5

To run BRITS-I for air quality and MIMIC - Run "britsI/main_original_activity.ipynb" Input Arguments to be set - For AirQuality dataset, set air=True For MIMIC dataset, set mimic=True

For training model-
	Set train=True

For Imputation Testing model-
	Set evalImp=True
	Set missingRate=10 or 20 or 30 or 40 or 50

For Prediction Testing model-
	Set evalPred=True
	Set pred_len=8 or 7 or 6 or 5

===============================Baseline============================================= Baseline To run Bi-GAN for EHR dataset - To run Bi-GAN for air quality and MIMIC - MICE - Run "baseline/MICE.ipynb" Input Arguments to be set - For AirQuality dataset, set air=True For MIMIC dataset, set mimic=True For EHR dataset, set ehr=True

For Imputation Testing model-
	Set imp=True
	Set missingRate=10 or 20 or 30 or 40 or 50

For Prediction Testing model-
	Set pred=True
	Set pred_len=8 or 7 or 6 or 5

KNN- Run "baseline/knn.ipynb" Input Arguments to be set - For AirQuality dataset, set air=True For MIMIC dataset, set mimic=True For EHR dataset, set ehr=True

For Imputation Testing model-
	Set imp=True
	Set missingRate=10 or 20 or 30 or 40 or 50

For Prediction Testing model-
	Set pred=True
	Set pred_len=8 or 7 or 6 or 5

MEAN- Run "baseline/mean.ipynb" Input Arguments to be set - For AirQuality dataset, set air=True For MIMIC dataset, set mimic=True For EHR dataset, set ehr=True

For Imputation Testing model-
	Set imp=True
	Set missingRate=10 or 20 or 30 or 40 or 50

For Prediction Testing model-
	Set pred=True
	Set pred_len=8 or 7 or 6 or 5

===============================Bi-GAN Components============================================= Bi-GAN with Wasserstein Loss============================================= To run biWgan for EHR dataset - Run "biWgan/main_Wgan.ipynb.ipynb" For training model- Set train=True

For Imputation Testing model-
	Set evalImp=True
	Set missingRate=10 or 20 or 30 or 40 or 50

For Prediction Testing model-
	Set evalPred=True
	Set pred_len=8 or 7 or 6 or 5

To run biWgan for air quality and MIMIC - Run "biWgan/main_WganActivity.ipynb" Input Arguments to be set - For AirQuality dataset, set air=True For MIMIC dataset, set mimic=True

For training model-
	Set train=True

For Imputation Testing model-
	Set evalImp=True
	Set missingRate=10 or 20 or 30 or 40 or 50

For Prediction Testing model-
	Set evalPred=True
	Set pred_len=8 or 7 or 6 or 5

Bi-GAN without Lambda============================================= To run lambda for EHR dataset - Run "lambda/main_ganLambda.ipynb" For training model- Set train=True

For Imputation Testing model-
	Set evalImp=True
	Set missingRate=10 or 20 or 30 or 40 or 50

For Prediction Testing model-
	Set evalPred=True
	Set pred_len=8 or 7 or 6 or 5

To run lambda for air quality and MIMIC - Run "lambda/main_ganLambdaActivity.ipynb" Input Arguments to be set - For AirQuality dataset, set air=True For MIMIC dataset, set mimic=True

For training model-
	Set train=True

For Imputation Testing model-
	Set evalImp=True
	Set missingRate=10 or 20 or 30 or 40 or 50

For Prediction Testing model-
	Set evalPred=True
	Set pred_len=8 or 7 or 6 or 5

NOTE: Change path of files as required

bigan's People

Contributors

mehak25 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.