Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
master-thesis
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Daniel Lukats
master-thesis
Commits
6a283888
Commit
6a283888
authored
Jun 07, 2020
by
Daniel Lukats
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fix to evaluation script
parent
071e16a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
project/source/evaluation.py
project/source/evaluation.py
+2
-3
No files found.
project/source/evaluation.py
View file @
6a283888
...
...
@@ -102,7 +102,6 @@ def create_plot(experiment: Experiment,
:param plot:
:return:
"""
# colors = ['#307B3B', '#CAA023', '#254796', '#D01B88']
colors
=
[
'#307B3B'
,
'#CAA023'
,
'#254796'
,
'#F1009A'
]
setup
()
for
i
,
run
in
enumerate
(
experiment
.
runs
):
...
...
@@ -110,7 +109,7 @@ def create_plot(experiment: Experiment,
plt
.
plot
(
comparison
[
0
],
comparison
[
1
],
color
=
'black'
,
label
=
'Trendline'
)
plt
.
title
(
f
'
{
experiment
.
game
}
'
)
plt
.
xlabel
(
'Time step'
)
plt
.
ylabel
(
'
S
core'
)
plt
.
ylabel
(
'
Episode s
core'
)
make_legend
(
colors
,
trend
=
False
)
plt
.
tight_layout
(
pad
=
1.02
)
...
...
@@ -122,7 +121,7 @@ def create_plot(experiment: Experiment,
if
default_trend
is
not
None
:
plt
.
plot
(
default_trend
[
0
],
default_trend
[
1
],
label
=
'Trendline (reference)'
,
color
=
colors
[
3
])
make_legend
(
colors
)
plt
.
tight_layout
(
pad
=
1.0
8
)
plt
.
tight_layout
(
pad
=
1.0
2
)
plt
.
savefig
(
path
+
'_reference'
)
plt
.
clf
()
...
...
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