code: def __init__(self, function):
      self.function = function
  
imports: from __future__ import unicode_literals
  import time
  import progressbar
  from neupy.utils import iters
label_desc: Use image node_id 1 to create a new EpochEndSignal object from inherited base classes: object with example: obj = EpochEndSignal(function)