Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
deleted a redundant comment
  • Loading branch information
mc10011 authored Apr 1, 2019
1 parent 8e46bf3 commit dbdba59
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python/pyrenn.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,6 @@ def train_LM(P,Y,net,k_max=100,E_stop=1e-10,dampfac=3.0,dampconst=10.0,\
Enew = calc_error(net,data) #calculate new Error E
if Enew<E and abs(E-Enew)>=min_E_step:
#Optimization Step successful!
#if E-Enew<=1e-09:
dampfac= dampfac/dampconst#adapt scale factor
early=0 #reset the early stopping criterium
break #go to next iteration
Expand Down

0 comments on commit dbdba59

Please sign in to comment.