|
|
|
@ -38,7 +38,7 @@ def train (**args) :
|
|
|
|
|
# args['label'] = handler.Export(df[[column_id]])
|
|
|
|
|
# args['label'] = np.ones(df.shape[0]).reshape(df.shape[0],1)
|
|
|
|
|
for col in column :
|
|
|
|
|
args['real'] = pd.get_dummies(df[col]).astype(np.float32).values
|
|
|
|
|
args['real'] = pd.get_dummies(df[col].fillna('')).astype(np.float32).values
|
|
|
|
|
# args['real'] = handler.Export(df[[col]])
|
|
|
|
|
args['column'] = col
|
|
|
|
|
args['context'] = col
|
|
|
|
|