comparison sandbox/rbm/main.py @ 399:8796b91a9f09

RBM minibatch works
author Joseph Turian <turian@gmail.com>
date Tue, 08 Jul 2008 21:42:21 -0400
parents 70019965f888
children 269d5c5a4209
comparison
equal deleted inserted replaced
398:6e55ccb7e2bf 399:8796b91a9f09
1 #!/usr/bin/python 1 #!/usr/bin/python
2 """ 2 """
3 An RBM with binomial units trained with CD-1. 3 An RBM with binomial units trained with CD-1.
4
5 LIMITATIONS:
6 - Only does pure stochastic gradient (batchsize = 1).
7 """ 4 """
8 5
9 6
10 import numpy 7 import numpy
11 8