Enhanced Generative Adversarial Networks for Imputing Missing Values
Project description
EGAIN
Abolfazl Saghafi, Soodeh Moallemian, Miray Budak, and Rutvik Deshpande, EGAIN: Enhanced Generative Adversarial Networks for Imputing Missing Values, Under Review.
Requirements
The codes require python >= 3.11. Main required libraries and their versions are:
numpy >= 1.26.4
pandas >= 2.2.2
tensorflow >= 2.18.0
scikit-learn >= 1.6.1
matplotlib >= 3.10.0
tqdm >= 4.67.1
Installation
First install the above requirements with their versions using pip, then instal EGAIN using pip, and load required libraries:
!pip install EGAIN
## Import requirements
##-------------------
import numpy as np
import pandas as pd
import tensorflow as tf
import matplotlib.pyplot as plt
from tqdm import tqdm
from tensorflow.keras.models import Model
from tensorflow.keras.layers import Dense, Input, Flatten, MaxPooling1D, Conv1D
from sklearn.preprocessing import MinMaxScaler
from sklearn.metrics import root_mean_squared_error
from EGAIN import EGAIN
from EGAIN import plot_losses, rounding, rmse_loss
Alternatively, you can install EGAIN directly from this github page. This option works great if you are using google collaboratory:
## Clone EGAIN
!git clone https://github.com/asaghafi/EGAIN.git
## Install requirements
%cd /content/EGAIN
!pip install -r requirements.txt
## Import utility functions
import sys
sys.path.append('/content/EGAIN')
from utils import *
from EGAIN import EGAIN
Best hyperparameters
To find the best alpha, best iterations, and best batch size follow instructions at the github page:
https://github.com/asaghafi/EGAIN
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file egain-0.0.1.tar.gz.
File metadata
- Download URL: egain-0.0.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
759736172a24eac683212c42057a4601326981d230ee877d67c8c39e097e650d
|
|
| MD5 |
46e11ec738ef86a01719f214dda818ee
|
|
| BLAKE2b-256 |
151050a8f5bf2152187c2f02bebe208c06071fc1a56e867fc89afbd78669ed1d
|
File details
Details for the file egain-0.0.1-py3-none-any.whl.
File metadata
- Download URL: egain-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c891ab1dbd50162fba7074f9c18075e0707010ddb8ed8ed715d05d048adc8d2c
|
|
| MD5 |
3023c062d6d4f660095159451fe349c1
|
|
| BLAKE2b-256 |
2f94268b1dc7ff22c9e941456663e29df03a07605fe0c9d8da30a84202ed41b8
|