Parcourir la source

fix output line

Jérôme BUISINE il y a 3 ans
Parent
commit
b5efe367c4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      find_best_attributes_from.py

+ 1 - 1
find_best_attributes_from.py

@@ -121,7 +121,7 @@ def main():
         test_roc_auc = roc_auc_score(y_test, y_test_model)
         
         with open('data/results/selectFromModel.csv', 'a') as f:
-            line += str(len(binary_selection)) + ';'
+            line = str(len(binary_selection)) + ';'
             line += str(test_roc_auc) + ';'
             
             for index, b in enumerate(binary_selection):