def cost_per_example(self, model, data, ** kwargs):
        raise NotImplementedError(str(type(self)) + "does not implement "
                                  "cost_per_example.")
Returns a theano expression for the cost per example.
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/costs/cost.py/Cost.cost_per_example