You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I am learning network using following definition of training function: self.network.trainf = nl.train.train_gda
But with this parameters: error = self.network.train(trainingSample, target, goal=0.01, lr=0.001, adapt=True, lr_inc=1.1, lr_dec=0.6, max_perf_inc=2.8, rr=0.3)
I receive an error: File "/usr/local/lib/python3.4/dist-packages/neurolab/core.py", line 165, in train return self.trainf(self, *args, **kwargs) File "/usr/local/lib/python3.4/dist-packages/neurolab/core.py", line 349, in __call__ train(net, *args) File "/usr/local/lib/python3.4/dist-packages/neurolab/train/gd.py", line 66, in __call__ e = reg_error(e, self.rr, net) NameError: name 'reg_error' is not defined
I have now found out that adapt=True is causing the problem, because when i set it to False, everything works fine.
The text was updated successfully, but these errors were encountered:
Hey, I am learning network using following definition of training function:
self.network.trainf = nl.train.train_gda
But with this parameters:
error = self.network.train(trainingSample, target, goal=0.01, lr=0.001, adapt=True, lr_inc=1.1, lr_dec=0.6, max_perf_inc=2.8, rr=0.3)
I receive an error:
File "/usr/local/lib/python3.4/dist-packages/neurolab/core.py", line 165, in train return self.trainf(self, *args, **kwargs) File "/usr/local/lib/python3.4/dist-packages/neurolab/core.py", line 349, in __call__ train(net, *args) File "/usr/local/lib/python3.4/dist-packages/neurolab/train/gd.py", line 66, in __call__ e = reg_error(e, self.rr, net) NameError: name 'reg_error' is not defined
I have now found out that adapt=True is causing the problem, because when i set it to False, everything works fine.
The text was updated successfully, but these errors were encountered: