Mercurial > pylearn
diff sandbox/rbm/main.py @ 406:c2e6a8fcc35e
Globals are now parameters for the RBM model
author | Joseph Turian <turian@gmail.com> |
---|---|
date | Thu, 10 Jul 2008 02:10:23 -0400 |
parents | ffdd2c199f2a |
children |
line wrap: on
line diff
--- a/sandbox/rbm/main.py Thu Jul 10 01:17:40 2008 -0400 +++ b/sandbox/rbm/main.py Thu Jul 10 02:10:23 2008 -0400 @@ -16,7 +16,7 @@ nonzero_instances.append({1: 0.2, 2: 0.3, 5: 0.5}) import model -model = model.Model() +model = model.Model(input_dimension=10, hidden_dimension=6) for i in xrange(100000): # Select an instance