Bug: Typo in train

This commit is contained in:
Dominik Moritz Roth 2021-12-11 11:54:25 +01:00
parent 81fa6ca4d6
commit 36baf1aaec

View File

@ -895,9 +895,9 @@ def train(initGamma, full=True):
delta = sum(gradient[g]**2 for g in gradient)
best_mse = mse
stagLen = 0
goal = 1.0e-0.4
goal = 1.0e-4
if full:
goal = 1.0e-0.5
goal = 1.0e-5
while gamma > goal and delta > goal or best_mse > 15:
last_mse = mse