lisa-lab/pylearn — pull request #103 by vdumoulin (2012-08-03 15:12:48+00:00)
Title: Termination criterion updates

I added a patience-based termination criterion with its complete documentation.

I also modified MonitorBasedTermCrit's behaviour because I thought it did not work as advertised, at least if the goal is to stop the optimization whenever the model has not improved by a certain factor in the last N epochs.

I also think there should be a base class for monitor-based termination criteria from which the present MonitorBasedTermCrit and the PatienceBasedTermCrit would derive. If anyone thinks it is a good idea, I'm willing to do those changes and rename the classes accordingly.