Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bachelor-thesis
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Martin Řepa
bachelor-thesis
Commits
fafee0d5
Commit
fafee0d5
authored
Apr 17, 2019
by
Martin Řepa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use bigger neural network
parent
376527aa
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
7 deletions
+10
-7
src/experiments/game_theory_blocking/run_blocking_model.py
src/experiments/game_theory_blocking/run_blocking_model.py
+1
-0
src/experiments/game_theory_latency/run_latency_model.py
src/experiments/game_theory_latency/run_latency_model.py
+1
-0
src/experiments/learning_epochs/configuration.yaml
src/experiments/learning_epochs/configuration.yaml
+3
-3
src/experiments/learning_epochs/learning_epochs.py
src/experiments/learning_epochs/learning_epochs.py
+1
-0
src/neural_networks/network.py
src/neural_networks/network.py
+4
-4
No files found.
src/experiments/game_theory_blocking/run_blocking_model.py
View file @
fafee0d5
...
...
@@ -139,5 +139,6 @@ if __name__ == "__main__":
log_file
=
f
'
{
base_dir
}
/log'
with
open
(
log_file
,
'a'
)
as
log
:
sys
.
stderr
=
log
sys
.
stdout
=
log
main
(
experiment_conf
,
base_dir
)
src/experiments/game_theory_latency/run_latency_model.py
View file @
fafee0d5
...
...
@@ -139,6 +139,7 @@ if __name__ == "__main__":
log_file
=
f
'
{
base_dir
}
/log'
with
open
(
log_file
,
'a'
)
as
log
:
sys
.
stderr
=
log
sys
.
stdout
=
log
main
(
experiment_conf
,
base_dir
)
...
...
src/experiments/learning_epochs/configuration.yaml
View file @
fafee0d5
experiments_per_setup
:
8
# 6
legacy_folder
:
/home/ignac/experiments/learning_epochs/
18
000to30000by4000_8times
# Change in regards with configuration
legacy_folder
:
/home/ignac/experiments/learning_epochs/
2
000to30000by4000_8times
# Change in regards with configuration
epochs
:
lower_bound
:
18
000
number_of_steps
:
4
# 8 (6-8 should be enough)
lower_bound
:
2
000
number_of_steps
:
8
# 8 (6-8 should be enough)
upper_bound
:
30000
# 30000
conf
:
i_a
:
1
...
...
src/experiments/learning_epochs/learning_epochs.py
View file @
fafee0d5
...
...
@@ -177,6 +177,7 @@ if __name__ == "__main__":
log_file
=
f
'
{
base_dir
}
/log'
with
open
(
log_file
,
'a'
)
as
log
:
sys
.
stderr
=
log
sys
.
stdout
=
log
main
(
experiment_conf
,
base_dir
)
# main(experiment_conf, base_dir)
src/neural_networks/network.py
View file @
fafee0d5
...
...
@@ -70,13 +70,13 @@ class NeuralNetwork:
def
__init__
(
self
,
input_features
=
2
,
nn_conf
:
NeuralNetworkConfig
=
NeuralNetworkConfig
()):
self
.
model
=
nn
.
Sequential
(
nn
.
Linear
(
input_features
,
5
),
nn
.
Linear
(
input_features
,
20
),
nn
.
ReLU
(),
nn
.
Linear
(
5
,
5
),
nn
.
Linear
(
20
,
1
5
),
nn
.
ReLU
(),
nn
.
Linear
(
5
,
5
),
nn
.
Linear
(
15
,
20
),
nn
.
ReLU
(),
nn
.
Linear
(
5
,
1
),
nn
.
Linear
(
20
,
1
),
nn
.
Tanh
(),
SoftClip
(
50
)
# nn.Sigmoid()
...
...
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