Skip to content

Commit 3f3234b

Browse files
committed
Merge pull request lisa-lab#34 from herr-biber/master
Fix typo.
2 parents fa66a32 + fcac646 commit 3f3234b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/rbm.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ chain to get the free energy of the negative phase. Note that the
573573
``chain_end`` is a symbolical Theano variable expressed in terms of the model
574574
parameters, and if we would apply ``T.grad`` naively, the function will
575575
try to go through the Gibbs chain to get the gradients. This is not what we
576-
want (it will mess up our gradients) and therefire we need to indicate to
576+
want (it will mess up our gradients) and therefore we need to indicate to
577577
``T.grad`` that ``chain_end`` is a constant. We do this by using the argument
578578
``consider_constant`` of ``T.grad``.
579579

@@ -651,7 +651,7 @@ all bits are independent. Therefore,
651651

652652
Here :math:`x_{-i}` denotes the set of all bits of :math:`x` except bit
653653
:math:`i`. The log-PL is therefore the sum of the log-probabilities of each
654-
bit :math:`x_i`, conditionned on the state of all other bits. For MNIST, this
654+
bit :math:`x_i`, conditioned on the state of all other bits. For MNIST, this
655655
would involve summing over the 784 input dimensions, which remains rather
656656
expensive. For this reason, we use the following stochastic approximation to
657657
log-PL:

0 commit comments

Comments
 (0)