Mercurial > pylearn
diff sandbox/rbm/model.py @ 417:4f61201fa9a9
Parameters are no longer global
author | Joseph Turian <turian@iro.umontreal.ca> |
---|---|
date | Fri, 11 Jul 2008 17:19:37 -0400 |
parents | 3cd4cfda2599 |
children |
line wrap: on
line diff
--- a/sandbox/rbm/model.py Fri Jul 11 16:34:46 2008 -0400 +++ b/sandbox/rbm/model.py Fri Jul 11 17:19:37 2008 -0400 @@ -59,7 +59,7 @@ random.seed(random_seed) - self.parameters = parameters.Parameters(input_dimension=self.input_dimension, hidden_dimension=self.hidden_dimension, randomly_initialize=False, random_seed=self.random_seed) + self.parameters = parameters.Parameters(input_dimension=self.input_dimension, hidden_dimension=self.hidden_dimension, randomly_initialize=True, random_seed=self.random_seed) self.prev_dw = 0 self.prev_db = 0 self.prev_dc = 0