aboutsummaryrefslogtreecommitdiffstats
path: root/dpd
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-27 21:56:56 +0200
committerandreas128 <Andreas>2017-09-27 21:56:56 +0200
commit1c134cda607f0a430bda896af6157e61cadc897d (patch)
tree1a666b0ebf6eb29befb5f478accf718a7a9aa069 /dpd
parentb03863220725e35e1e44ada93e8ea87b8a3b1efc (diff)
downloaddabmod-1c134cda607f0a430bda896af6157e61cadc897d.tar.gz
dabmod-1c134cda607f0a430bda896af6157e61cadc897d.tar.bz2
dabmod-1c134cda607f0a430bda896af6157e61cadc897d.zip
Change heuristic
Diffstat (limited to 'dpd')
-rw-r--r--dpd/src/Heuristics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpd/src/Heuristics.py b/dpd/src/Heuristics.py
index 90a4ed6..467c5da 100644
--- a/dpd/src/Heuristics.py
+++ b/dpd/src/Heuristics.py
@@ -19,7 +19,7 @@ def get_learning_rate(idx_run):
def get_n_meas(idx_run):
idx_max = 10.0
n_meas_min = 10
- n_meas_max = 50
+ n_meas_max = 20
n_meas_delta = n_meas_max - n_meas_min
idx_run = min(idx_run, idx_max)
learning_rate = n_meas_delta * idx_run/idx_max + n_meas_min