Taddeus Kroes před 14 roky
rodič
revize
a4973beb0e
2 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 2 0
      docs/Makefile
  2. 1 1
      src/run_classifier.py

+ 2 - 0
docs/Makefile

@@ -4,9 +4,11 @@ all: plan.pdf report.pdf
 
 plan.pdf: plan.tex
 	pdflatex $^
+	pdflatex $^
 
 report.pdf: report.tex
 	pdflatex $^
+	pdflatex $^
 
 clean:
 	$(RM) *.pdf *.aux *.log *.out *.toc

+ 1 - 1
src/run_classifier.py

@@ -44,7 +44,7 @@ for i, char in enumerate(test_set):
 
     print '%d of %d (%d%% done)' % (i + 1, l, round(100 * (i + 1) / l))
 
-print '\n%d matches (%d%%), %d fails' % (matches, \
+print '\n%d matches (%.1f%%), %d fails' % (matches, \
         round(100 * matches / l), len(test_set) - matches)
 
 # Show a grid plot of all faulty classified characters