Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
EMAM2Middleware
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4
Issues
4
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
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
monticore
EmbeddedMontiArc
generators
EMAM2Middleware
Commits
7280b84a
Commit
7280b84a
authored
Mar 29, 2019
by
Philipp Görick
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change MonteCarlo plot to start at 1 instead of 0.
parent
2be4181b
Pipeline
#115095
passed with stages
in 14 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
src/test/resources/montecarlovisualisation.py
src/test/resources/montecarlovisualisation.py
+12
-8
No files found.
src/test/resources/montecarlovisualisation.py
View file @
7280b84a
...
...
@@ -59,11 +59,12 @@ ax.set(xlabel='Iterations', ylabel='Score',
title
=
'Montecarlo Clustering of Autopilotmodel with 3 Clusters'
)
ax
.
grid
()
textstr
=
'
\n
'
.
join
((
"MaxValueMC = "
+
str
(
autopilot_minmax
[
1
]),
"MinValueMC = "
+
str
(
autopilot_minmax
[
0
])))
"MaxValueMC = "
+
str
(
autopilot_minmax
[
0
]),
"MinValueMC = "
+
str
(
autopilot_minmax
[
1
])))
props
=
dict
(
boxstyle
=
'round'
,
facecolor
=
'wheat'
,
alpha
=
0.5
)
ax
.
text
(
0.95
,
0.05
,
textstr
,
transform
=
ax
.
transAxes
,
fontsize
=
14
,
verticalalignment
=
'bottom'
,
ha
=
'right'
,
bbox
=
props
)
ax
.
set_xlim
(
xmin
=
1
)
plt
.
show
()
fig
,
ax
=
plt
.
subplots
()
...
...
@@ -72,11 +73,12 @@ ax.set(xlabel='Iterations', ylabel='Score',
title
=
'Montecarlo Clustering of Pacmanmodel with 3 Clusters'
)
ax
.
grid
()
textstr
=
'
\n
'
.
join
((
"MaxValueMC = "
+
str
(
pacman_minmax
[
1
]),
"MinValueMC = "
+
str
(
pacman_minmax
[
0
])))
"MaxValueMC = "
+
str
(
pacman_minmax
[
0
]),
"MinValueMC = "
+
str
(
pacman_minmax
[
1
])))
props
=
dict
(
boxstyle
=
'round'
,
facecolor
=
'wheat'
,
alpha
=
0.5
)
ax
.
text
(
0.95
,
0.05
,
textstr
,
transform
=
ax
.
transAxes
,
fontsize
=
14
,
verticalalignment
=
'bottom'
,
ha
=
'right'
,
bbox
=
props
)
ax
.
set_xlim
(
xmin
=
1
)
plt
.
show
()
fig
,
ax
=
plt
.
subplots
()
...
...
@@ -85,11 +87,12 @@ ax.set(xlabel='Iterations', ylabel='Score',
title
=
'Montecarlo Clustering of Supermariomodel with 3 Clusters'
)
ax
.
grid
()
textstr
=
'
\n
'
.
join
((
"MaxValueMC = "
+
str
(
supermario_minmax
[
1
]),
"MinValueMC = "
+
str
(
supermario_minmax
[
0
])))
"MaxValueMC = "
+
str
(
supermario_minmax
[
0
]),
"MinValueMC = "
+
str
(
supermario_minmax
[
1
])))
props
=
dict
(
boxstyle
=
'round'
,
facecolor
=
'wheat'
,
alpha
=
0.5
)
ax
.
text
(
0.95
,
0.05
,
textstr
,
transform
=
ax
.
transAxes
,
fontsize
=
14
,
verticalalignment
=
'bottom'
,
ha
=
'right'
,
bbox
=
props
)
ax
.
set_xlim
(
xmin
=
1
)
plt
.
show
()
t
=
np
.
arange
(
0
,
100
,
1
)
...
...
@@ -99,9 +102,10 @@ ax.set(xlabel='Iterations', ylabel='Score',
title
=
'Montecarlo Clustering of Daimlermodel'
)
ax
.
grid
()
textstr
=
'
\n
'
.
join
((
"MaxValueMC = "
+
str
(
daimler_minmax
[
1
]),
"MinValueMC = "
+
str
(
daimler_minmax
[
0
])))
"MaxValueMC = "
+
str
(
daimler_minmax
[
0
]),
"MinValueMC = "
+
str
(
daimler_minmax
[
1
])))
props
=
dict
(
boxstyle
=
'round'
,
facecolor
=
'wheat'
,
alpha
=
0.5
)
ax
.
text
(
0.95
,
0.05
,
textstr
,
transform
=
ax
.
transAxes
,
fontsize
=
14
,
verticalalignment
=
'bottom'
,
ha
=
'right'
,
bbox
=
props
)
ax
.
set_xlim
(
xmin
=
1
)
plt
.
show
()
\ No newline at end of file
Alexander David Hellwig
@alexander.hellwig
mentioned in issue
#30 (closed)
·
Apr 01, 2019
mentioned in issue
#30 (closed)
mentioned in issue #30
Toggle commit list
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