Mercurial > pylearn
changeset 973:aa201f357d7b
mcRBM - added numpy import
author | James Bergstra <bergstrj@iro.umontreal.ca> |
---|---|
date | Mon, 23 Aug 2010 15:59:40 -0400 |
parents | 0b392d1401c5 |
children | f2cdcc71ece1 |
files | pylearn/algorithms/mcRBM.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pylearn/algorithms/mcRBM.py Mon Aug 23 15:59:21 2010 -0400 +++ b/pylearn/algorithms/mcRBM.py Mon Aug 23 15:59:40 2010 -0400 @@ -140,6 +140,7 @@ import sys import logging import numpy as np +import numpy from theano import function, shared, dot from theano import tensor as TT import theano.sparse #installs the sparse shared var handler @@ -150,6 +151,9 @@ from sparse_coding import numpy_project_onto_ball +print >> sys.stderr, "mcRBM IS NOT READY YET" + + #TODO: This should be in the nnet part of the library def sgd_updates(params, grads, lr): try: