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.
10 lines
335 B
Python
10 lines
335 B
Python
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') |