Commit 8529c4ba authored by Marcel Henrik Schubert's avatar Marcel Henrik Schubert
Browse files

fixed format-error

parent 487b12d0
......@@ -130,7 +130,7 @@ def plot_confusion_matrix(cm, classes,normalize=True,title='Confusion matrix',cm
ax.set_yticks(np.arange(cm.shape[0]+1)-.5, minor=True)
fmt = '.2f' if normalize else 'd'
fmt = 'd'
thresh = cm.max() / 1.5
for i, j in itertools.product(range(cm.shape[0]), range(cm.shape[1])):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment