Andrea Maldonado commited on
Commit
7dd9336
·
1 Parent(s): b38b83c

Changes of number of features

Browse files
Files changed (1) hide show
  1. gedi/features.py +2 -1
gedi/features.py CHANGED
@@ -140,7 +140,8 @@ class EventLogFeatures(EventLogFile):
140
  print(err)
141
  print(f"Cannot load {self.filepath}. Double check for file or change config 'load_results' to false")
142
  else:
143
- print(f"SUCCESS: EventLogFeatures took {dt.now()-start} sec. Saved {len(self.feat.columns)-1} features for {len(self.feat)} in {self.filepath}")
 
144
  print("=========================== ~ EventLogFeatures Computation=========================")
145
 
146
  #TODO: Implement optional trying to read already computed jsons first.
 
140
  print(err)
141
  print(f"Cannot load {self.filepath}. Double check for file or change config 'load_results' to false")
142
  else:
143
+ # -2 because of 'log' and 'similarity'
144
+ print(f"SUCCESS: EventLogFeatures took {dt.now()-start} sec. Saved {len(self.feat.columns)-2} features for {len(self.feat)} in {self.filepath}")
145
  print("=========================== ~ EventLogFeatures Computation=========================")
146
 
147
  #TODO: Implement optional trying to read already computed jsons first.