pybrain/pybrain — pull request #141 by ranma42 (2014-12-17 13:45:38+00:00)
Title: Simplify check for convergence in backprop.py

Instead of relying on the generator machinery provided by the functors package, the convergence threshold check can be expressed easily using the core sum function.

In my opinion, this makes the code easier to read, because it avoids a lambda abstraction.