# HG changeset patch # User James Bergstra # Date 1283643076 14400 # Node ID cc6c6d7234a7a3e9402e373a84951e97ca6cd4e6 # Parent d38cb039c6629d5881c3366232fdc7fe286b3319 hmc - removing debugprints diff -r d38cb039c662 -r cc6c6d7234a7 pylearn/sampling/hmc.py --- 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((