jorgenkg / python-neural-network

This is an efficient implementation of a fully connected neural network in NumPy. The network can be trained by a variety of learning algorithms: backpropagation, resilient backpropagation and scaled conjugate gradient learning. The network has been developed with PYPY in mind.
BSD 2-Clause "Simplified" License
297 stars 98 forks source link

Wrong error assignment in resilient backpropagation #8

Closed huntrar closed 8 years ago

huntrar commented 8 years ago

On line 230 in resilient_backpropagation you assign, error = error, I believe it should be prev_error = error

jorgenkg commented 8 years ago

Thanks, that's true! Fixed