Explorar o código

Added newline to string.

Taddeus Kroes %!s(int64=14) %!d(string=hai) anos
pai
achega
df98d883bf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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...'