Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/p/y/pylearn2-HEAD/pylearn2/costs/ebm_estimation.py   pylearn2(Download)
from pylearn2.utils import py_integer_types
from pylearn2.utils.rng import make_theano_rng
from pylearn2.models.rbm import BlockGibbsSampler
 
 
    def _cost(self, model, data):
 
        if not hasattr(self,'sampler'):
            self.sampler = BlockGibbsSampler(
                rbm=model,