Browse Source

fix output line

Jérôme BUISINE 3 years ago
parent
commit
b5efe367c4
1 changed files with 1 additions and 1 deletions
  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):