Mercurial > pylearn
comparison denoising_aa.py @ 233:9e96fe8b955c
moved the function from misc.py that have dependency on theano in misc_theano.py
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Tue, 27 May 2008 15:59:02 -0400 |
parents | df3fae88ab46 |
children | eded3cb54930 |
comparison
equal
deleted
inserted
replaced
231:38beb81f4e8b | 233:9e96fe8b955c |
---|---|
7 from learner import * | 7 from learner import * |
8 from theano import tensor as t | 8 from theano import tensor as t |
9 from nnet_ops import * | 9 from nnet_ops import * |
10 import math | 10 import math |
11 from misc import * | 11 from misc import * |
12 from misc_theano import * | |
12 from theano.tensor_random import binomial | 13 from theano.tensor_random import binomial |
13 | 14 |
14 def hiding_corruption_formula(seed,average_fraction_hidden): | 15 def hiding_corruption_formula(seed,average_fraction_hidden): |
15 """ | 16 """ |
16 Return a formula for the corruption process, in which a random | 17 Return a formula for the corruption process, in which a random |