GeezerVison is showing github.com — Restored doc/convolutional_mlp.txt to doc/lenet.txt and doc/logistic_… · iamsile/DeepLearningTutorials@750673c
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: doc/DBN.txt +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -4,7 +4,7 @@ Deep Belief Networks | 4 | 4 | ==================== | 5 | 5 |
| 6 | 6 | .. note:: | 7 | | - This section assumes the reader has already read through :doc:`logistic_sgd` | | 7 | + This section assumes the reader has already read through :doc:`logreg` | 8 | 8 | and :doc:`mlp` and :doc:`rbm`. Additionally it uses the following Theano | 9 | 9 | functions and concepts : `T.tanh`_, `shared variables`_, `basic arithmetic | 10 | 10 | ops`_, `T.grad`_, `Random numbers`_, `floatX`_. If you intend to run the | @@ -164,7 +164,7 @@ hidden bias with its corresponding sigmoid layer. | 164 | 164 |
| 165 | 165 | All that is left is to stack one last logistic regression layer in order to | 166 | 166 | form an MLP. We will use the ``LogisticRegression`` class introduced in | 167 | | -:ref:`logistic_sgd`. | | 167 | +:ref:`logreg`. | 168 | 168 |
| 169 | 169 | .. literalinclude:: ../code/DBN.py | 170 | 170 | :start-after: # We now need to add a logistic layer on top of the MLP | |
Collapse file Copy file name to clipboardExpand all lines: doc/SdA.txt +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -4,7 +4,7 @@ Stacked Denoising Autoencoders (SdA) | 4 | 4 | ==================================== | 5 | 5 |
| 6 | 6 | .. note:: | 7 | | - This section assumes the reader has already read through :doc:`logistic_sgd` | | 7 | + This section assumes the reader has already read through :doc:`logreg` | 8 | 8 | and :doc:`mlp`. Additionally it uses the following Theano functions | 9 | 9 | and concepts : `T.tanh`_, `shared variables`_, `basic arithmetic ops`_, `T.grad`_, `Random numbers`_, `floatX`_. If you intend to run the code on GPU also read `GPU`_. | 10 | 10 |
| @@ -95,7 +95,7 @@ bias of the encoding part with its corresponding sigmoid layer. | 95 | 95 |
| 96 | 96 | All we need now is to add the logistic layer on top of the sigmoid | 97 | 97 | layers such that we have an MLP. We will | 98 | | -use the ``LogisticRegression`` class introduced in :ref:`logistic_sgd`. | | 98 | +use the ``LogisticRegression`` class introduced in :ref:`logreg`. | 99 | 99 |
| 100 | 100 | .. literalinclude:: ../code/SdA.py | 101 | 101 | :start-after: self.dA_layers.append(dA_layer) | |
Collapse file Copy file name to clipboardExpand all lines: doc/contents.txt +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -11,9 +11,9 @@ Contents | 11 | 11 | LICENSE | 12 | 12 | intro | 13 | 13 | gettingstarted | 14 | | - logistic_sgd | | 14 | + logreg | 15 | 15 | mlp | 16 | | - convolutional_mlp | | 16 | + lenet | 17 | 17 | dA | 18 | 18 | SdA | 19 | 19 | rbm | |
Collapse file Copy file name to clipboardExpand all lines: doc/dA.txt +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -4,7 +4,7 @@ Denoising Autoencoders (dA) | 4 | 4 | =========================== | 5 | 5 |
| 6 | 6 | .. note:: | 7 | | - This section assumes the reader has already read through :doc:`logistic_sgd` | | 7 | + This section assumes the reader has already read through :doc:`logreg` | 8 | 8 | and :doc:`mlp`. Additionally it uses the following Theano functions | 9 | 9 | and concepts : `T.tanh`_, `shared variables`_, `basic arithmetic ops`_, `T.grad`_, `Random numbers`_, `floatX`_. If you intend to run the code on GPU also read `GPU`_. | 10 | 10 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/intro.txt +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -29,9 +29,9 @@ read through our :ref:`gettingstarted` chapter -- it introduces the notation, an | 29 | 29 |
| 30 | 30 | The purely supervised learning algorithms are meant to be read in order: | 31 | 31 |
| 32 | | - #. :ref:`Logistic Regression <logistic_sgd>` - using Theano for something simple | | 32 | + #. :ref:`Logistic Regression <logreg>` - using Theano for something simple | 33 | 33 | #. :ref:`Multilayer perceptron <mlp>` - introduction to layers | 34 | | - #. :ref:`Deep Convolutional Network <convolutional_mlp>` - a simplified version of LeNet5 | | 34 | + #. :ref:`Deep Convolutional Network <lenet>` - a simplified version of LeNet5 | 35 | 35 |
| 36 | 36 | The unsupervised and semi-supervised learning algorithms can be read in any | 37 | 37 | order (the auto-encoders can be read independently of the RBM/DBN thread): | |
Collapse file Copy file name to clipboardExpand all lines: doc/lenet.txt +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | | -.. _convolutional_mlp: | | 1 | +.. _lenet: | 2 | 2 |
| 3 | 3 | Convolutional Neural Networks (LeNet) | 4 | 4 | ===================================== | 5 | 5 |
| 6 | 6 | .. note:: | 7 | | - This section assumes the reader has already read through :doc:`logistic_sgd` and | | 7 | + This section assumes the reader has already read through :doc:`logreg` and | 8 | 8 | :doc:`mlp`. Additionally, it uses the following new Theano functions and concepts: | 9 | 9 | `T.tanh`_, `shared variables`_, `basic arithmetic ops`_, `T.grad`_, | 10 | 10 | `floatX`_, `downsample`_ , `conv2d`_, `dimshuffle`_. If you intend to run the | @@ -406,7 +406,7 @@ layer. | 406 | 406 | Notice that when initializing the weight values, the fan-in is determined by | 407 | 407 | the size of the receptive fields and the number of input feature maps. | 408 | 408 |
| 409 | | -Finally, using the LogisticRegression class defined in :doc:`logistic_sgd` and | | 409 | +Finally, using the LogisticRegression class defined in :doc:`logreg` and | 410 | 410 | the HiddenLayer class defined in :doc:`mlp` , we can | 411 | 411 | instantiate the network as follows. | 412 | 412 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/logreg.txt +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | .. index:: Logistic Regression | 2 | 2 |
| 3 | | -.. _logistic_sgd : | | 3 | +.. _logreg : | 4 | 4 |
| 5 | 5 |
| 6 | 6 | Classifying MNIST digits using Logistic Regression | |
Collapse file Copy file name to clipboardExpand all lines: doc/mlp.txt +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -7,7 +7,7 @@ Multilayer Perceptron | 7 | 7 | ===================== | 8 | 8 |
| 9 | 9 | .. note:: | 10 | | - This section assumes the reader has already read through :doc:`logistic_sgd`. | | 10 | + This section assumes the reader has already read through :doc:`logreg`. | 11 | 11 | Additionally, it uses the following new Theano functions and concepts: | 12 | 12 | `T.tanh`_, `shared variables`_, `basic arithmetic ops`_, `T.grad`_, | 13 | 13 | :ref:`L1_L2_regularization`, `floatX`_. If you intend to run the | @@ -80,7 +80,7 @@ extension to vectors and tensors consists in applying them element-wise | 80 | 80 |
| 81 | 81 | The output vector is then obtained as: :math:`o(x) = G(b^{(2)} + W^{(2)} h(x))`. | 82 | 82 | The reader should recognize the form we already used for | 83 | | -:doc:`logistic_sgd`. As before, | | 83 | +:doc:`logreg`. As before, | 84 | 84 | class-membership probabilities can be obtained by choosing :math:`G` as the | 85 | 85 | :math:`softmax` function (in the case of multi-class classification). | 86 | 86 |
| @@ -129,7 +129,7 @@ to use something else. | 129 | 129 | If you look into theory this class implements the graph that computes | 130 | 130 | the hidden layer value :math:`h(x) = \Phi(x) = s(b^{(1)} + W^{(1)} x)`. | 131 | 131 | If you give this as input to the ``LogisticRegression`` class, | 132 | | -implemented in the previous tutorial :doc:`logistic_sgd`, you get the output | | 132 | +implemented in the previous tutorial :doc:`logreg`, you get the output | 133 | 133 | of the MLP. You can see this in the following short implementation of | 134 | 134 | the ``MLP`` class. | 135 | 135 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/rbm.txt +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -5,7 +5,7 @@ Restricted Boltzmann Machines (RBM) | 5 | 5 |
| 6 | 6 |
| 7 | 7 | .. note:: | 8 | | - This section assumes the reader has already read through :doc:`logistic_sgd` | | 8 | + This section assumes the reader has already read through :doc:`logreg` | 9 | 9 | and :doc:`mlp`. Additionally it uses the following Theano functions | 10 | 10 | and concepts : `T.tanh`_, `shared variables`_, `basic arithmetic ops`_, `T.grad`_, `Random numbers`_, `floatX`_ and `scan`_. If you intend to run the code on GPU also read `GPU`_. | 11 | 11 |
| |
|