Mercurial > pylearn
changeset 1342:4ac393ec2eb7
Fixed comments in leapfrog method
author | gdesjardins |
---|---|
date | Fri, 22 Oct 2010 11:11:51 -0400 |
parents | fbe4a6383441 |
children | cf0fc12a50f7 |
files | pylearn/sampling/hmc.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/pylearn/sampling/hmc.py Fri Oct 22 10:58:57 2010 -0400 +++ b/pylearn/sampling/hmc.py Fri Oct 22 11:11:51 2010 -0400 @@ -95,8 +95,8 @@ pos: theano matrix in leapfrog update equations, represents pos(t), position at time t vel: theano matrix - in leapfrog update equations, represents vel(t + stepsize/2), - velocity at time (t + stepsize/2) + in leapfrog update equations, represents vel(t - stepsize/2), + velocity at time (t - stepsize/2) step: theano scalar scalar value controlling amount by which to move @@ -104,7 +104,7 @@ ------- rval1: [theano matrix, theano matrix] Symbolic theano matrices for new position pos(t + stepsize), and velocity - vel(t+3*stepsize/2) + vel(t + stepsize/2) rval2: dictionary Dictionary of updates for the Scan Op """