def is_stochastic(self):

        raise NotImplementedError(str(type(self)) + " needs to implement "
                                  "is_stochastic.")
Returns True if the cost is stochastic.
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/costs/cost.py/Cost.is_stochastic