aboutsummaryrefslogtreecommitdiffstats
path: root/dpd
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-28 12:13:30 +0200
committerandreas128 <Andreas>2017-09-28 12:13:30 +0200
commitdf943d798ffb16214fcf714d1b308a366e1566d1 (patch)
tree52226280fb492715ca3f711749be022d27f248c8 /dpd
parent3a0ff25128dd3bcfac38cf6a26e9bff9ed83a9f8 (diff)
downloaddabmod-df943d798ffb16214fcf714d1b308a366e1566d1.tar.gz
dabmod-df943d798ffb16214fcf714d1b308a366e1566d1.tar.bz2
dabmod-df943d798ffb16214fcf714d1b308a366e1566d1.zip
Lower start learning rate in Heuristic.py
Diffstat (limited to 'dpd')
-rw-r--r--dpd/src/Heuristics.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/dpd/src/Heuristics.py b/dpd/src/Heuristics.py
index 467c5da..a32ccff 100644
--- a/dpd/src/Heuristics.py
+++ b/dpd/src/Heuristics.py
@@ -10,7 +10,7 @@ import numpy as np
def get_learning_rate(idx_run):
idx_max = 10.0
lr_min = 0.05
- lr_max = 1
+ lr_max = 0.4
lr_delta = lr_max - lr_min
idx_run = min(idx_run, idx_max)
learning_rate = lr_max - lr_delta * idx_run/idx_max
@@ -24,5 +24,3 @@ def get_n_meas(idx_run):
idx_run = min(idx_run, idx_max)
learning_rate = n_meas_delta * idx_run/idx_max + n_meas_min
return int(np.round(learning_rate))
-
-