Przeglądaj źródła

Added newline to string.

Taddeus Kroes 14 lat temu
rodzic
commit
df98d883bf
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/find_svm_params.py

+ 1 - 1
src/find_svm_params.py

@@ -119,7 +119,7 @@ s += '\nBest result: %.3f%% for C = %f and gamma = %f' % best[:3]
 
 print 'Saving results...'
 f = open(results_file, 'w+')
-f.write(s)
+f.write(s + '\n')
 f.close()
 
 print 'Saving best classifier...'