From df943d798ffb16214fcf714d1b308a366e1566d1 Mon Sep 17 00:00:00 2001 From: andreas128 Date: Thu, 28 Sep 2017 12:13:30 +0200 Subject: Lower start learning rate in Heuristic.py --- dpd/src/Heuristics.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dpd') 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)) - - -- cgit v1.2.3