Skip to content

Commit e972e03

Browse files
author
Yoshua Bengio
committed
typos
1 parent 2b74ca5 commit e972e03

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

doc/rbm.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ the Markov chain. What it means is that, for example, :math:`h^{(n+1)}_i` is
232232
randomly chosen to be 1 (versus 0) with probability :math:`sigm(W_i'x^{(n)} + c_i)`,
233233
and similarly,
234234
:math:`x^{(n+1)}_j` is
235-
randomly chosen to be 1 (versus 0) with probability :math:`sigm(W_{.j}'h^{(n+1)} + b_j).
235+
randomly chosen to be 1 (versus 0) with probability :math:`sigm(W_{.j} h^{(n+1)} + b_j)`.
236236

237237
This can be illustrated graphically:
238238

doc/utilities.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Plotting Samples and Filters
1515

1616
To plot a sample, what we need to do is to take the visible units, which
1717
are a flattened image (there is no 2D structure to the visible units,
18-
just a 1D string of nodes) and reshape it into a 2D image. The order in
18+
just a 1D string of unit activations) and reshape it into a 2D image. The order in
1919
which the points from the 1D array go into the 2D image is given by the
2020
order in which the inital MNIST images where converted into a 1D array.
2121
Lucky for us this is just a call of the ``numpy.reshape`` function.
@@ -30,12 +30,12 @@ the input image.
3030

3131
We need a utility function that takes a minibatch, or the weight matrix,
3232
and converts each row ( for the weight matrix we do a transpose ) into a
33-
2D image and then tile this images together. Once we converted the
33+
2D image and then tile these images together. Once we converted the
3434
minibatch or the weights in this image of tiles, we can use PIL to plot
3535
and save. `PIL <http://www.pythonware.com/products/pil/>`_ is a standard
3636
python libarary to deal with images.
3737

38-
Tiling minibatches together is done for us by
38+
Tiling minibatches together is done for us by the
3939
``tile_raster_image`` function which we provide here.
4040

4141
.. code-block:: python

0 commit comments

Comments
 (0)