Skip to content
GitLab
Menu
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
6e0db1ba
Commit
6e0db1ba
authored
Jul 18, 2019
by
Marcel Henrik Schubert
Browse files
fixed miscommuniation error
parent
90e09d64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Scripts/Analysis_final_mult.py
View file @
6e0db1ba
...
...
@@ -604,7 +604,7 @@ def plotter(subsets, subana, phases, labels):
labels
=
phases
)
f
=
plt
.
figure
()
ax
=
f
.
subplots
()
f
,
ax
=
plot_confusion_matrix
(
cnf_matrix
,
classes
=
phases
,
title
=
None
,
ax
=
ax
,
plt
=
f
)
f
,
ax
=
plot_confusion_matrix
(
cnf_matrix
,
classes
=
phases
,
title
=
None
,
ax
=
ax
,
fig
=
f
)
plt
.
tight_layout
()
#plt.show()
#f.savefig('../Data/results/heatmaps/test.png')
...
...
@@ -654,7 +654,7 @@ def plotter(subsets, subana, phases, labels):
life_ph_pred_auth
,
labels
=
phases
)
f
=
plt
.
figure
()
f
,
ax
=
plot_confusion_matrix
(
cnf_matrix
,
classes
=
phases
,
title
=
None
)
f
,
ax
=
plot_confusion_matrix
(
cnf_matrix
,
classes
=
phases
,
title
=
None
,
ax
=
ax
,
fig
=
f
)
plt
.
tight_layout
()
f
.
savefig
(
savedir
+
'heatmaps/cm_{st}_{an}_{label}_{group}.png'
.
format
(
st
=
st
,
an
=
an
,
label
=
label
,
...
...
@@ -692,7 +692,7 @@ def plotter(subsets, subana, phases, labels):
life_ph_pred_auth_wrong
,
labels
=
phases
)
f
=
plt
.
figure
()
f
,
ax
=
plot_confusion_matrix
(
cnf_matrix
,
classes
=
phases
,
title
=
None
)
f
,
ax
=
plot_confusion_matrix
(
cnf_matrix
,
classes
=
phases
,
title
=
None
,
ax
=
ax
,
fig
=
f
)
plt
.
tight_layout
()
f
.
savefig
(
savedir
+
'heatmaps/cm_{st}_{an}_{label}_{group}_false.png'
.
format
(
st
=
st
,
an
=
an
,
label
=
label
,
...
...
@@ -703,7 +703,7 @@ def plotter(subsets, subana, phases, labels):
gen_pred_auth_wrong
,
labels
=
[
'female'
,
'male'
])
f
=
plt
.
figure
()
f
,
ax
=
plot_confusion_matrix
(
cnf_matrix
,
classes
=
[
'female'
,
'male'
],
title
=
None
)
f
,
ax
=
plot_confusion_matrix
(
cnf_matrix
,
classes
=
[
'female'
,
'male'
],
title
=
None
,
ax
=
ax
,
fig
=
f
)
plt
.
tight_layout
()
f
.
savefig
(
savedir
+
'heatmaps/cm_{st}_{an}_{label}_{group}_false.png'
.
format
(
st
=
st
,
an
=
an
,
label
=
label
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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