thbndi commited on
Commit
841622f
·
1 Parent(s): 832165b

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +1 -0
Mimic4Dataset.py CHANGED
@@ -458,6 +458,7 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
458
  path = './data/dict/'+self.config.name.replace(" ","_")+'/features_'+self.encoding+'.csv'
459
  df_feats.to_csv(path)
460
  feat_tocsv=False
 
461
  X= generate_ml(dyn_df,cond_df,demo,concat_cols,self.concat)
462
  X=X.values[0]
463
 
 
458
  path = './data/dict/'+self.config.name.replace(" ","_")+'/features_'+self.encoding+'.csv'
459
  df_feats.to_csv(path)
460
  feat_tocsv=False
461
+ pd.DataFrame(columns=feats).to_csv('./data/concat.csv')
462
  X= generate_ml(dyn_df,cond_df,demo,concat_cols,self.concat)
463
  X=X.values[0]
464