You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
"""
|
|
|
|
(c) 2019 Data Maker, hiplab.mc.vanderbilt.edu
|
|
|
|
version 1.0.0
|
|
|
|
|
|
|
|
This package serves as a proxy to the overall usage of the framework.
|
|
|
|
This package is designed to generate synthetic data from a dataset from an original dataset using deep learning techniques
|
|
|
|
|
|
|
|
@TODO:
|
|
|
|
- Make configurable GPU, EPOCHS
|
|
|
|
"""
|
|
|
|
import pandas as pd
|
|
|
|
import numpy as np
|
|
|
|
if value >= item.left and value <= item.right :
|
|
|
|
df = args['data'] if not isinstance(args['data'],str) else pd.read_csv(args['data'])
|
|
|
|
trainer = gan.Train(**args)
|
|
|
|
trainer.apply()
|
|
|
|
def post(**args):
|
|
|
|
"""
|
|
|
|
This uploads the tensorflow checkpoint to a data-store (mongodb, biguqery, s3)
|
|
|
|
|
|
|
|
"""
|
|
|
|
pass
|
|
|
|
# NO_VALUE = dict(args['no_value']) if type(args['no_value']) == dict else args['no_value']
|
|
|
|
# print ([col,df[col].dtype,_df[col].tolist()])
|