Chris Spencer
2007-02-02 17:00:34 UTC
I've found Pyfann's methods for setting network attributes, like
set_learning_rate() and set_learning_momentum() don't actually set
these attributes:
from pyfann import libfann
net = libfann.neural_net()
net.set_learning_rate(0.7)
assert net.get_learning_rate() == 0.7 # error
net.set_learning_momentum(1.0)
assert net.get_learning_momentum() == 1.0 # error
This is using the Pyfann in the current CVS.
Regards,
Chris
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
set_learning_rate() and set_learning_momentum() don't actually set
these attributes:
from pyfann import libfann
net = libfann.neural_net()
net.set_learning_rate(0.7)
assert net.get_learning_rate() == 0.7 # error
net.set_learning_momentum(1.0)
assert net.get_learning_momentum() == 1.0 # error
This is using the Pyfann in the current CVS.
Regards,
Chris
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642