Browse Source

Fix misprint in ratio

DricomDragon 5 năm trước cách đây
mục cha
commit
91e01907ea
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      python/lab/benchmark.py

+ 1 - 1
python/lab/benchmark.py

@@ -28,4 +28,4 @@ def computePrecision(net):
 		if (np.argmax(a2) == np.argmax(np_expected[:,k])):
 			nbSuccess += 1
 
-	return nbSuccess / nmSamples
+	return nbSuccess / nbSamples