Bug: Typo in train
This commit is contained in:
parent
81fa6ca4d6
commit
36baf1aaec
@ -895,9 +895,9 @@ def train(initGamma, full=True):
|
|||||||
delta = sum(gradient[g]**2 for g in gradient)
|
delta = sum(gradient[g]**2 for g in gradient)
|
||||||
best_mse = mse
|
best_mse = mse
|
||||||
stagLen = 0
|
stagLen = 0
|
||||||
goal = 1.0e-0.4
|
goal = 1.0e-4
|
||||||
if full:
|
if full:
|
||||||
goal = 1.0e-0.5
|
goal = 1.0e-5
|
||||||
|
|
||||||
while gamma > goal and delta > goal or best_mse > 15:
|
while gamma > goal and delta > goal or best_mse > 15:
|
||||||
last_mse = mse
|
last_mse = mse
|
||||||
|
Loading…
Reference in New Issue
Block a user