# HG changeset patch # User James Bergstra # Date 1282593580 14400 # Node ID aa201f357d7b8b7cd8e939d4b2480711ed5a946e # Parent 0b392d1401c5be5a0ba9478df8231debe93668bc mcRBM - added numpy import diff -r 0b392d1401c5 -r aa201f357d7b pylearn/algorithms/mcRBM.py --- 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: