Skip to content

Commit f787fcf

Browse files
author
Ilia Karmanov
authored
Merge pull request ilkarman#42 from marktab/patch-1
Integer to float for Python 2
2 parents e21db06 + 27d160c commit f787fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CNTK_CNN.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
}
245245
],
246246
"source": [
247-
"print(\"Accuracy: \", sum(y_guess == y_truth)/len(y_guess))"
247+
"print(\"Accuracy: \", 1.*sum(y_guess == y_truth)/len(y_guess))"
248248
]
249249
}
250250
],

0 commit comments

Comments
 (0)