changeset 1271:cc6c6d7234a7

hmc - removing debugprints
author James Bergstra <bergstrj@iro.umontreal.ca>
date Sat, 04 Sep 2010 19:31:16 -0400
parents d38cb039c662
children ba25c6e4f55d
files pylearn/sampling/hmc.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/sampling/hmc.py	Fri Sep 03 15:05:31 2010 -0400
+++ b/pylearn/sampling/hmc.py	Sat Sep 04 19:31:16 2010 -0400
@@ -65,7 +65,6 @@
     """Return final (position, velocity) of `n_step` trajectory
     """
     def leapfrog(pos, vel, step):
-        print 'LEAPFROG', vel, pos, step
         egy = energy_fn(pos)
         dE_dpos = TT.grad(egy.sum(), pos)
         new_vel = vel - step * dE_dpos
@@ -81,8 +80,6 @@
                 ],
             non_sequences=[stepsize],
             n_steps=n_steps)
-    print final_p.type
-    print final_v.type
 
     if scan_updates:
         raise NotImplementedError((