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/models/tests/test_autoencoder.py   pylearn2(Download)
import theano.tensor as tensor
from theano import config
from pylearn2.models.autoencoder import Autoencoder, HigherOrderContractiveAutoencoder
from pylearn2.corruption import BinomialCorruptor
from pylearn2.config import yaml_parse
    corruptor = BinomialCorruptor(corruption_level = 0.5)
    model = HigherOrderContractiveAutoencoder(
            corruptor = corruptor,
            num_corruptions = 2,
            nvis = 5,