summaryrefslogtreecommitdiffstats
path: root/dpd
diff options
context:
space:
mode:
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))
-
-