Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marcel Henrik Schubert
AttributionFeatures
Commits
8529c4ba
Commit
8529c4ba
authored
Jul 29, 2019
by
Marcel Henrik Schubert
Browse files
fixed format-error
parent
487b12d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Scripts/Analysis_final_mult.py
View file @
8529c4ba
...
...
@@ -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
])):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment