#NEWLINE# def setup( self , model , dataset ) : #NEWLINE# #INDENT# '\n        Initialize the given training algorithm.\n\n        Parameters\n        ----------\n        model : object\n            Object that implements the Model interface defined in\n            `pylearn2.models`.\n        dataset : object\n            Object that implements the Dataset interface defined in\n            `pylearn2.datasets`.\n\n        Notes\n        -----\n        Called by the training script prior to any calls involving data.\n        This is a good place to compile theano functions for doing learning.\n        ' #NEWLINE# self . model = dataset