parent
4165fabe57
commit
ef39969082
@ -1 +1,2 @@
|
|||||||
import data.params as params
|
import data.params as params
|
||||||
|
|
||||||
|
@ -0,0 +1,10 @@
|
|||||||
|
import pandas as pd
|
||||||
|
import data.maker
|
||||||
|
|
||||||
|
df = pd.read_csv('sample.csv')
|
||||||
|
column = 'gender'
|
||||||
|
id = 'id'
|
||||||
|
context = 'demo'
|
||||||
|
store = {"type":"mongo.MongoWriter","args":{"host":"localhost:27017","dbname":"GAN"}}
|
||||||
|
max_epochs = 11
|
||||||
|
data.maker.train(store=store,max_epochs=max_epochs,context=context,data=df,column=column,id=id,logs='foo')
|
Loading…
Reference in new issue