Pārlūkot izejas kodu

fix output line

Jérôme BUISINE 4 gadi atpakaļ
vecāks
revīzija
b5efe367c4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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):