diff --git a/doc/pub/LogReg/html/._LogReg-bs000.html b/doc/pub/LogReg/html/._LogReg-bs000.html index 226e1d7bf..8fab13972 100644 --- a/doc/pub/LogReg/html/._LogReg-bs000.html +++ b/doc/pub/LogReg/html/._LogReg-bs000.html @@ -159,7 +159,7 @@ MathJax.Hub.Config({
[2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

-

Oct 11, 2018

+

Oct 18, 2018


diff --git a/doc/pub/LogReg/html/._LogReg-bs018.html b/doc/pub/LogReg/html/._LogReg-bs018.html index 6e79d2da1..7c367356c 100644 --- a/doc/pub/LogReg/html/._LogReg-bs018.html +++ b/doc/pub/LogReg/html/._LogReg-bs018.html @@ -184,9 +184,6 @@ X_train, X_test, y_train, y_test = skms=0.95 ) -

-Using a small training set yields a better accuracy. This will be discussed in the end. -

diff --git a/doc/pub/LogReg/html/._LogReg-bs022.html b/doc/pub/LogReg/html/._LogReg-bs022.html index a6f6c2ed9..59f3921c8 100644 --- a/doc/pub/LogReg/html/._LogReg-bs022.html +++ b/doc/pub/LogReg/html/._LogReg-bs022.html @@ -196,10 +196,6 @@ training data looks quite good, but as the testing data is so far off we see that we are dealing with an overfit model.

-A previous run with \( 50\% \) of the data used for training yielded a -worse performance than using a smaller training set. This again gives -confidence to the fact that logistic regression is not able to -correctly fit the Ising model as it is not a linear model.

diff --git a/doc/pub/LogReg/html/LogReg-bs.html b/doc/pub/LogReg/html/LogReg-bs.html index 226e1d7bf..8fab13972 100644 --- a/doc/pub/LogReg/html/LogReg-bs.html +++ b/doc/pub/LogReg/html/LogReg-bs.html @@ -159,7 +159,7 @@ MathJax.Hub.Config({

[2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

-

Oct 11, 2018

+

Oct 18, 2018


diff --git a/doc/pub/LogReg/html/LogReg-reveal.html b/doc/pub/LogReg/html/LogReg-reveal.html index 2f41dca82..01452dbe0 100644 --- a/doc/pub/LogReg/html/LogReg-reveal.html +++ b/doc/pub/LogReg/html/LogReg-reveal.html @@ -148,7 +148,7 @@ MathJax.Hub.Config({

[2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

 
-

Oct 11, 2018

+

Oct 18, 2018


@@ -730,8 +730,6 @@ X_train, X_test, y_train, y_test = skms.train_test_split( test_size=0.95 ) -

-Using a small training set yields a better accuracy. This will be discussed in the end. @@ -952,12 +950,6 @@ that logistic regression is quite inept at predicting the Ising model transition and is therefore highly non-linear. The ROC curve for the training data looks quite good, but as the testing data is so far off we see that we are dealing with an overfit model. - -

-A previous run with \( 50\% \) of the data used for training yielded a -worse performance than using a smaller training set. This again gives -confidence to the fact that logistic regression is not able to -correctly fit the Ising model as it is not a linear model. diff --git a/doc/pub/LogReg/html/LogReg-solarized.html b/doc/pub/LogReg/html/LogReg-solarized.html index 0e21bf0a9..963a161fc 100644 --- a/doc/pub/LogReg/html/LogReg-solarized.html +++ b/doc/pub/LogReg/html/LogReg-solarized.html @@ -101,7 +101,7 @@ MathJax.Hub.Config({

[2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

-

Oct 11, 2018

+

Oct 18, 2018


@@ -628,9 +628,6 @@ X_train, X_test, y_train, y_test = skms.train_test_split( test_size=0.95 ) -

-Using a small training set yields a better accuracy. This will be discussed in the end. -











@@ -841,10 +838,6 @@ training data looks quite good, but as the testing data is so far off we see that we are dealing with an overfit model.

-A previous run with \( 50\% \) of the data used for training yielded a -worse performance than using a smaller training set. This again gives -confidence to the fact that logistic regression is not able to -correctly fit the Ising model as it is not a linear model. diff --git a/doc/pub/LogReg/html/LogReg.html b/doc/pub/LogReg/html/LogReg.html index abf1d112a..61b01692f 100644 --- a/doc/pub/LogReg/html/LogReg.html +++ b/doc/pub/LogReg/html/LogReg.html @@ -106,7 +106,7 @@ MathJax.Hub.Config({

[2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

-

Oct 11, 2018

+

Oct 18, 2018


@@ -633,9 +633,6 @@ X_train, X_test, y_train, y_test = skms=0.95 ) -

-Using a small training set yields a better accuracy. This will be discussed in the end. -











@@ -846,10 +843,6 @@ training data looks quite good, but as the testing data is so far off we see that we are dealing with an overfit model.

-A previous run with \( 50\% \) of the data used for training yielded a -worse performance than using a smaller training set. This again gives -confidence to the fact that logistic regression is not able to -correctly fit the Ising model as it is not a linear model. diff --git a/doc/pub/LogReg/ipynb/LogReg.ipynb b/doc/pub/LogReg/ipynb/LogReg.ipynb index 5a9d85a4f..2ad1a345d 100644 --- a/doc/pub/LogReg/ipynb/LogReg.ipynb +++ b/doc/pub/LogReg/ipynb/LogReg.ipynb @@ -10,7 +10,7 @@ " \n", "**Morten Hjorth-Jensen**, Department of Physics, University of Oslo and Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University\n", "\n", - "Date: **Oct 11, 2018**\n", + "Date: **Oct 18, 2018**\n", "\n", "Copyright 1999-2018, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license\n", "\n", @@ -782,8 +782,6 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Using a small training set yields a better accuracy. This will be discussed in the end.\n", - "\n", "## Logistic regression\n", "\n", "Logistic regression is a linear model for classification. Recalling\n", @@ -1078,12 +1076,7 @@ "that logistic regression is quite inept at predicting the Ising model\n", "transition and is therefore highly non-linear. The ROC curve for the\n", "training data looks quite good, but as the testing data is so far off\n", - "we see that we are dealing with an overfit model.\n", - "\n", - "A previous run with $50\\%$ of the data used for training yielded a\n", - "worse performance than using a smaller training set. This again gives\n", - "confidence to the fact that logistic regression is not able to\n", - "correctly fit the Ising model as it is not a linear model." + "we see that we are dealing with an overfit model." ] } ], diff --git a/doc/pub/LogReg/ipynb/ipynb-LogReg-src.tar.gz b/doc/pub/LogReg/ipynb/ipynb-LogReg-src.tar.gz index 61efa7037..1a28dae24 100644 Binary files a/doc/pub/LogReg/ipynb/ipynb-LogReg-src.tar.gz and b/doc/pub/LogReg/ipynb/ipynb-LogReg-src.tar.gz differ diff --git a/doc/pub/LogReg/pdf/LogReg-beamer-handouts2x3.pdf b/doc/pub/LogReg/pdf/LogReg-beamer-handouts2x3.pdf index 70a0ba35f..2255b34d6 100644 Binary files a/doc/pub/LogReg/pdf/LogReg-beamer-handouts2x3.pdf and b/doc/pub/LogReg/pdf/LogReg-beamer-handouts2x3.pdf differ diff --git a/doc/pub/LogReg/pdf/LogReg-beamer.pdf b/doc/pub/LogReg/pdf/LogReg-beamer.pdf index f7bb75e08..82c83636b 100644 Binary files a/doc/pub/LogReg/pdf/LogReg-beamer.pdf and b/doc/pub/LogReg/pdf/LogReg-beamer.pdf differ diff --git a/doc/pub/LogReg/pdf/LogReg-minted.pdf b/doc/pub/LogReg/pdf/LogReg-minted.pdf index e6188fed3..9ad78bb22 100644 Binary files a/doc/pub/LogReg/pdf/LogReg-minted.pdf and b/doc/pub/LogReg/pdf/LogReg-minted.pdf differ diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs000.html b/doc/pub/NeuralNet/html/._NeuralNet-bs000.html index 55accbec3..2280e9a0e 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs000.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs000.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({

  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -278,7 +296,7 @@ MathJax.Hub.Config({
    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

    -

    Oct 16, 2018

    +

    Oct 18, 2018


    @@ -302,7 +320,7 @@ MathJax.Hub.Config({

  • 9
  • 10
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs001.html b/doc/pub/NeuralNet/html/._NeuralNet-bs001.html index 44fc3a92a..d0d16e154 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs001.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs001.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -287,7 +305,7 @@ a weight variable.
  • 10
  • 11
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs002.html b/doc/pub/NeuralNet/html/._NeuralNet-bs002.html index 773a1f14a..1484e01b5 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs002.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs002.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -337,7 +355,7 @@ humanities to life science and medicine.
  • 11
  • 12
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs003.html b/doc/pub/NeuralNet/html/._NeuralNet-bs003.html index 209d7fcaa..acab1f6e4 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs003.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs003.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -302,7 +320,7 @@ methods we discussed earlier.
  • 12
  • 13
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs004.html b/doc/pub/NeuralNet/html/._NeuralNet-bs004.html index 2a5f5c51d..e16bd4030 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs004.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs004.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -294,7 +312,7 @@ to all nodes in the subsequent layer, making this a so-called
  • 13
  • 14
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs005.html b/doc/pub/NeuralNet/html/._NeuralNet-bs005.html index 1a6e2b047..ba328257d 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs005.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs005.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -303,7 +321,7 @@ recognition.
  • 14
  • 15
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs006.html b/doc/pub/NeuralNet/html/._NeuralNet-bs006.html index 6831a5e64..6754a02ac 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs006.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs006.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -295,7 +313,7 @@ especially well-suited for handwriting and speech recognition.
  • 15
  • 16
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs007.html b/doc/pub/NeuralNet/html/._NeuralNet-bs007.html index 7477f3bbb..e332d20ef 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs007.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs007.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -296,7 +314,7 @@ type of NN due the unusual activation functions.
  • 16
  • 17
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs008.html b/doc/pub/NeuralNet/html/._NeuralNet-bs008.html index 389112241..48b2b1465 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs008.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs008.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -294,7 +312,7 @@ Such networks are often called multilayer perceptrons (MLPs).
  • 17
  • 18
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs009.html b/doc/pub/NeuralNet/html/._NeuralNet-bs009.html index 6db617982..a76356dfb 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs009.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs009.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -299,7 +317,7 @@ as to not restrict the range of output values.
  • 18
  • 19
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs010.html b/doc/pub/NeuralNet/html/._NeuralNet-bs010.html index 23e0b7c10..345f0bc70 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs010.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs010.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -300,7 +318,7 @@ of the outputs of all neurons in the previous layer.
  • 19
  • 20
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs011.html b/doc/pub/NeuralNet/html/._NeuralNet-bs011.html index 243c723e7..8108d0808 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs011.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs011.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -329,7 +347,7 @@ is obtained.
  • 20
  • 21
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs012.html b/doc/pub/NeuralNet/html/._NeuralNet-bs012.html index 64ed07ca4..2e541f417 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs012.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs012.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -311,7 +329,7 @@ $$
  • 21
  • 22
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs013.html b/doc/pub/NeuralNet/html/._NeuralNet-bs013.html index 20788e1fb..bbfd21bef 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs013.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs013.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -302,7 +320,7 @@ variables are the input values \( x_n \).
  • 22
  • 23
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs014.html b/doc/pub/NeuralNet/html/._NeuralNet-bs014.html index 12aebdafd..58fac7d48 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs014.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs014.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -311,7 +329,7 @@ flexibility of a neural network.
  • 23
  • 24
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs015.html b/doc/pub/NeuralNet/html/._NeuralNet-bs015.html index 75f455d95..3c1726864 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs015.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs015.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -321,7 +339,7 @@ $$
  • 24
  • 25
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs016.html b/doc/pub/NeuralNet/html/._NeuralNet-bs016.html index 20ab2d14a..c39087df0 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs016.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs016.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -305,7 +323,7 @@ used as input to the activation functions. For each operation
  • 25
  • 26
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs017.html b/doc/pub/NeuralNet/html/._NeuralNet-bs017.html index 1dfbd2c6a..8243ecf0d 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs017.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs017.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -299,7 +317,7 @@ for a FFNN to fulfill the universal approximation theorem
  • 26
  • 27
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs018.html b/doc/pub/NeuralNet/html/._NeuralNet-bs018.html index 2fba6eb34..58c8df7d1 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs018.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs018.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -307,7 +325,7 @@ $$
  • 27
  • 28
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs019.html b/doc/pub/NeuralNet/html/._NeuralNet-bs019.html index 4eebc4d90..1627ddc42 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs019.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs019.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -369,7 +387,7 @@ plt.show()
  • 28
  • 29
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs020.html b/doc/pub/NeuralNet/html/._NeuralNet-bs020.html index 316612137..c6f019e20 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs020.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs020.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -320,7 +338,7 @@ like logistic regression or linear regression and their modifications on the oth
  • 29
  • 30
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs021.html b/doc/pub/NeuralNet/html/._NeuralNet-bs021.html index e32373ef4..aeb78b86a 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs021.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs021.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -310,7 +328,7 @@ the potential of being universal approximators.
  • 30
  • 31
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs022.html b/doc/pub/NeuralNet/html/._NeuralNet-bs022.html index f443fdbe5..0ca3daeea 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs022.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs022.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -316,7 +334,7 @@ classes.
  • 31
  • 32
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs023.html b/doc/pub/NeuralNet/html/._NeuralNet-bs023.html index a151443c8..ddb3d9ee7 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs023.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs023.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -320,7 +338,7 @@ $$
  • 32
  • 33
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs024.html b/doc/pub/NeuralNet/html/._NeuralNet-bs024.html index 8a560f656..a84556e61 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs024.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs024.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -304,7 +322,7 @@ $$
  • 33
  • 34
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs025.html b/doc/pub/NeuralNet/html/._NeuralNet-bs025.html index d4ce1524f..a019ba831 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs025.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs025.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -307,7 +325,7 @@ $$
  • 34
  • 35
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs026.html b/doc/pub/NeuralNet/html/._NeuralNet-bs026.html index 8dce9b6dd..d14fddab4 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs026.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs026.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -332,7 +350,7 @@ $$
  • 35
  • 36
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs027.html b/doc/pub/NeuralNet/html/._NeuralNet-bs027.html index 566cdd8b4..7d157fdea 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs027.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs027.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -299,7 +317,7 @@ That is, the error \( \delta_j^L \) is exactly equal to the rate of change of th
  • 36
  • 37
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs028.html b/doc/pub/NeuralNet/html/._NeuralNet-bs028.html index c73902140..971b0940a 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs028.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs028.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -344,7 +362,7 @@ one \( L-1 \) in terms of the errors in the final output layer.
  • 37
  • 38
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs029.html b/doc/pub/NeuralNet/html/._NeuralNet-bs029.html index f73bea6ea..47accb760 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs029.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs029.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -314,7 +332,7 @@ We are now ready to set up the algorithm for back propagation and learning the w
  • 38
  • 39
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs030.html b/doc/pub/NeuralNet/html/._NeuralNet-bs030.html index dc50afb97..ffcbd9ab7 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs030.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs030.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -358,7 +376,7 @@ Here it is convenient to use stochastic gradient descent (see the examples below
  • 39
  • 40
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs031.html b/doc/pub/NeuralNet/html/._NeuralNet-bs031.html index 4925bb7b7..a4388a5ab 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs031.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs031.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -320,7 +338,7 @@ of our network.
  • 40
  • 41
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs032.html b/doc/pub/NeuralNet/html/._NeuralNet-bs032.html index e8c29bd5d..5aa45a9d1 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs032.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs032.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -342,7 +360,7 @@ The back propagation equations need now only a small change, namely the definiti
  • 41
  • 42
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs033.html b/doc/pub/NeuralNet/html/._NeuralNet-bs033.html index 433191a0c..534e425c8 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs033.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs033.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -330,7 +348,7 @@ In case we use another activation function than the logistic one, we need to eva
  • 42
  • 43
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs034.html b/doc/pub/NeuralNet/html/._NeuralNet-bs034.html index bebeeab0c..5b88a5aac 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs034.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs034.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -304,7 +322,7 @@ which in case of the simply binary model reduces to having \( i=j \).
  • 43
  • 44
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs035.html b/doc/pub/NeuralNet/html/._NeuralNet-bs035.html index 1382acec1..9b2d5be58 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs035.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs035.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -298,7 +316,7 @@ One can identify a set of key steps when using neural networks to solve supervis
  • 44
  • 45
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs036.html b/doc/pub/NeuralNet/html/._NeuralNet-bs036.html index f1c2fc395..3c51f6cae 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs036.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs036.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -377,7 +395,7 @@ plt.show()
  • 45
  • 46
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs037.html b/doc/pub/NeuralNet/html/._NeuralNet-bs037.html index dd46359f6..1d430d6cd 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs037.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs037.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -331,7 +349,7 @@ X_train, X_test, Y_train, Y_test = train_tes
  • 46
  • 47
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs038.html b/doc/pub/NeuralNet/html/._NeuralNet-bs038.html index 669d2bb60..bbcf02dfb 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs038.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs038.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -328,7 +346,7 @@ which is inspired by probability theory (see logistic regression) and was most c
  • 47
  • 48
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs039.html b/doc/pub/NeuralNet/html/._NeuralNet-bs039.html index d0a8591d9..c26adfb30 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs039.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs039.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -327,7 +345,7 @@ weights to the output layer.
  • 48
  • 49
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs040.html b/doc/pub/NeuralNet/html/._NeuralNet-bs040.html index 842f99d27..cfac09502 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs040.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs040.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -318,7 +336,7 @@ output_bias = np49
  • 50
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs041.html b/doc/pub/NeuralNet/html/._NeuralNet-bs041.html index 156e55d98..73b5bd0ea 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs041.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs041.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -309,7 +327,7 @@ $$ a_{j}^{L} = \frac{\exp{(z_j^{L})}}
  • 50
  • 51
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs042.html b/doc/pub/NeuralNet/html/._NeuralNet-bs042.html index 044950df5..79fc6c9b1 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs042.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs042.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -357,7 +375,7 @@ predictions = predict(X_train)
  • 51
  • 52
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs043.html b/doc/pub/NeuralNet/html/._NeuralNet-bs043.html index 504ed3872..883927f4b 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs043.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs043.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -313,7 +331,7 @@ you got the correct label. The probability of category \( c \) is given by the s
  • 52
  • 53
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs044.html b/doc/pub/NeuralNet/html/._NeuralNet-bs044.html index e2fb902a3..e7735122a 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs044.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs044.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -322,7 +340,7 @@ The various optmization methods, with codes and algorithms, are discussed in o
  • 53
  • 54
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs045.html b/doc/pub/NeuralNet/html/._NeuralNet-bs045.html index e1b7f70bd..26df28d42 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs045.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs045.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -315,7 +333,7 @@ calculate the gradient efficently.
  • 54
  • 55
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs046.html b/doc/pub/NeuralNet/html/._NeuralNet-bs046.html index f382128e0..d2de18744 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs046.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs046.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -396,7 +414,7 @@ lmbd = 0.0155
  • 56
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs047.html b/doc/pub/NeuralNet/html/._NeuralNet-bs047.html index f37757f07..97ba712e4 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs047.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs047.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -302,7 +320,7 @@ Andrew Ng goes through some of these considerations in this 56
  • 57
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs048.html b/doc/pub/NeuralNet/html/._NeuralNet-bs048.html index e9264ade4..e8d8ee334 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs048.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs048.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -395,7 +413,7 @@ being realizations of this object with different hyperparameters. An implementat
  • 57
  • 58
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs049.html b/doc/pub/NeuralNet/html/._NeuralNet-bs049.html index aa4744012..887d8f1fb 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs049.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs049.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -317,7 +335,7 @@ test_predict = dnn58
  • 59
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs050.html b/doc/pub/NeuralNet/html/._NeuralNet-bs050.html index ff0e388c6..9c6dca441 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs050.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs050.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -315,7 +333,7 @@ DNN_numpy = np.
  • 59
  • 60
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs051.html b/doc/pub/NeuralNet/html/._NeuralNet-bs051.html index e1876b12b..d4aa48c9b 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs051.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs051.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -324,7 +342,7 @@ plt.show()
  • 60
  • 61
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs052.html b/doc/pub/NeuralNet/html/._NeuralNet-bs052.html index c8112b974..c69327d25 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs052.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs052.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -321,7 +339,7 @@ DNN_scikit = np
  • 61
  • 62
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs053.html b/doc/pub/NeuralNet/html/._NeuralNet-bs053.html index f86c23aec..a4df5594d 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs053.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs053.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -324,7 +342,7 @@ plt.show()
  • 62
  • 63
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs054.html b/doc/pub/NeuralNet/html/._NeuralNet-bs054.html index 1b3bd2377..87a939e9f 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs054.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs054.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -297,7 +315,7 @@ NumPy arrays.
  • 63
  • 64
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs055.html b/doc/pub/NeuralNet/html/._NeuralNet-bs055.html index 07238066a..b9fc617b5 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs055.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs055.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -327,7 +345,7 @@ and/or if you use anaconda, just write (or install from the graphical use
  • 64
  • 65
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs056.html b/doc/pub/NeuralNet/html/._NeuralNet-bs056.html index 22fc4edd5..814220b43 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs056.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs056.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -348,7 +366,7 @@ X_train, X_test, Y_train, Y_test = train_tes
  • 65
  • 66
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs057.html b/doc/pub/NeuralNet/html/._NeuralNet-bs057.html index 008c096cc..933b05e84 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs057.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs057.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -426,6 +444,8 @@ MathJax.Hub.Config({
  • 65
  • 66
  • 67
  • +
  • ...
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs058.html b/doc/pub/NeuralNet/html/._NeuralNet-bs058.html index fd4d44b40..e4bbbc849 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs058.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs058.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -358,6 +376,9 @@ writer.add_graph(tf65
  • 66
  • 67
  • +
  • 68
  • +
  • ...
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs059.html b/doc/pub/NeuralNet/html/._NeuralNet-bs059.html index 28d76760e..d004829ad 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs059.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs059.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -378,6 +396,10 @@ plt.show()
  • 65
  • 66
  • 67
  • +
  • 68
  • +
  • 69
  • +
  • ...
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs060.html b/doc/pub/NeuralNet/html/._NeuralNet-bs060.html index e08ced460..4ab75e811 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs060.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs060.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -307,6 +325,11 @@ learn at widely different speeds
  • 65
  • 66
  • 67
  • +
  • 68
  • +
  • 69
  • +
  • 70
  • +
  • ...
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs061.html b/doc/pub/NeuralNet/html/._NeuralNet-bs061.html index e878faabd..d68198292 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs061.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs061.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -307,6 +325,12 @@ better than the logistic function in deep networks).
  • 65
  • 66
  • 67
  • +
  • 68
  • +
  • 69
  • +
  • 70
  • +
  • 71
  • +
  • ...
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs062.html b/doc/pub/NeuralNet/html/._NeuralNet-bs062.html index 3a0f23bae..5ebada95b 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs062.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs062.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -312,6 +330,13 @@ fast to compute).
  • 65
  • 66
  • 67
  • +
  • 68
  • +
  • 69
  • +
  • 70
  • +
  • 71
  • +
  • 72
  • +
  • ...
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs063.html b/doc/pub/NeuralNet/html/._NeuralNet-bs063.html index a684f9a05..57c247713 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs063.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs063.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -302,6 +320,12 @@ $$
  • 65
  • 66
  • 67
  • +
  • 68
  • +
  • 69
  • +
  • 70
  • +
  • 71
  • +
  • 72
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs064.html b/doc/pub/NeuralNet/html/._NeuralNet-bs064.html index 6d03ac994..899a0e0d2 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs064.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs064.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -294,6 +312,12 @@ bootstrap to evaluate other activation functions.
  • 65
  • 66
  • 67
  • +
  • 68
  • +
  • 69
  • +
  • 70
  • +
  • 71
  • +
  • 72
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs065.html b/doc/pub/NeuralNet/html/._NeuralNet-bs065.html index 4cdd73ae6..a8133e309 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs065.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs065.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -315,6 +333,12 @@ supervised learning.
  • 65
  • 66
  • 67
  • +
  • 68
  • +
  • 69
  • +
  • 70
  • +
  • 71
  • +
  • 72
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs066.html b/doc/pub/NeuralNet/html/._NeuralNet-bs066.html index e1b566889..9a9607283 100644 --- a/doc/pub/NeuralNet/html/._NeuralNet-bs066.html +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs066.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -280,8 +298,9 @@ Here we list some of the important limitations of supervised neural network base
  • Many problems are not about prediction. In natural science we are often interested in learning something about the underlying distribution that generates the data. In this case, it is often difficult to cast these ideas in a supervised learning setting. While the problems are related, it is possible to make good predictions with a wrong model. The model might or might not be useful for understanding the underlying science.
  • -Some of these remarks are particular to DNNs, others are shared by all supervised learning methods. This motivates the use of unsupervised methods which in part circumnavigate these problems. +Some of these remarks are particular to DNNs, others are shared by all supervised learning methods. This motivates the use of unsupervised methods which in part circumvent these problems. +

      @@ -297,6 +316,13 @@ Some of these remarks are particular to DNNs, others are shared by all supervise
    • 65
    • 66
    • 67
    • +
    • 68
    • +
    • 69
    • +
    • 70
    • +
    • 71
    • +
    • 72
    • +
    • 73
    • +
    • »
    diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs067.html b/doc/pub/NeuralNet/html/._NeuralNet-bs067.html new file mode 100644 index 000000000..04710ab6c --- /dev/null +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs067.html @@ -0,0 +1,352 @@ + + + + + + + +Data Analysis and Machine Learning: Neural networks, from the simple perceptron to deep learning + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +

     

     

     

    + + + + +

    Convolutional Neural Networks (recognizing images)

    + +

    +Convolutional Neural Networks (CNN) are very similar to ordinary Neural Networks. + +

    +They are made up of neurons that have learnable weights and +biases. Each neuron receives some inputs, performs a dot product and +optionally follows it with a non-linearity. The whole network still +expresses a single differentiable score function: from the raw image +pixels on one end to class scores at the other. And they still have a +loss function (for example Softmax) on the last (fully-connected) layer +and all the tips/tricks we developed for learning regular Neural +Networks still apply (back propagation, gradient descent etc etc). + +

    +What is the difference? CNN architectures make the explicit assumption that +the inputs are images, which allows us to encode certain properties +into the architecture. These then make the forward function more +efficient to implement and vastly reduce the amount of parameters in +the network. + +

    +Here we provide only a superficial overview, for the more interested, we recommend highly the course +IN5400 – Machine Learning for Image Analysis +and the slides of CS231. + +

    +

    + +

    + + +
    + + + + + + + +
    + +
    + + + + + + diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs068.html b/doc/pub/NeuralNet/html/._NeuralNet-bs068.html new file mode 100644 index 000000000..0102625d7 --- /dev/null +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs068.html @@ -0,0 +1,346 @@ + + + + + + + +Data Analysis and Machine Learning: Neural networks, from the simple perceptron to deep learning + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +

     

     

     

    + + + + +

    Regular NNs don’t scale well to full images

    + +

    +As an example, consider +an image of size \( 32\times 32\times 3 \) (32 wide, 32 high, 3 color channels), so a +single fully-connected neuron in a first hidden layer of a regular +Neural Network would have \( 32*32*3 = 3072 \) weights. This amount still +seems manageable, but clearly this fully-connected structure does not +scale to larger images. For example, an image of more respectable +size, say \( 200\times 200\times 3 \), would lead to neurons that have +\( 200*200*3 =120,000 \) weights. Moreover, we would almost certainly want to have +several such neurons, so the parameters would add up quickly! Clearly, +this full connectivity is wasteful and the huge number of parameters +would quickly lead to overfitting. + +

    +

    +
    +

    Figure 1: A regular 3-layer Neural Network.

    +

    +
    + +

    +

    + +

    + + +
    + + + + + + + +
    + +
    + + + + + + diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs069.html b/doc/pub/NeuralNet/html/._NeuralNet-bs069.html new file mode 100644 index 000000000..39574af44 --- /dev/null +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs069.html @@ -0,0 +1,360 @@ + + + + + + + +Data Analysis and Machine Learning: Neural networks, from the simple perceptron to deep learning + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +

     

     

     

    + + + + +

    3D volumes of neurons

    + +

    +Convolutional Neural Networks take advantage of the fact that the +input consists of images and they constrain the architecture in a more +sensible way. + +

    +In particular, unlike a regular Neural Network, the +layers of a CNN have neurons arranged in 3 dimensions: width, +height, depth. (Note that the word depth here refers to the third +dimension of an activation volume, not to the depth of a full Neural +Network, which can refer to the total number of layers in a network.) + +

    +To understand it better, the above example of an image +with an input volume of +activations has dimensions \( 32\times 32\times 3 \) (width, height, +depth respectively). + +

    +The neurons in a layer will +only be connected to a small region of the layer before it, instead of +all of the neurons in a fully-connected manner. Moreover, the final +output layer could for this specific image have dimensions \( 1\times 1 times 10 \), +because by the +end of the CNN architecture we will reduce the full image into a +single vector of class scores, arranged along the depth +dimension. + +

    +

    +
    +

    Figure 2: A CNN arranges its neurons in three dimensions (width, height, depth), as visualized in one of the layers. Every layer of a CNN transforms the 3D input volume to a 3D output volume of neuron activations. In this example, the red input layer holds the image, so its width and height would be the dimensions of the image, and the depth would be 3 (Red, Green, Blue channels).

    +

    +
    + +

    +

    + +

    + + +
    + + + + + + + +
    + +
    + + + + + + diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs070.html b/doc/pub/NeuralNet/html/._NeuralNet-bs070.html new file mode 100644 index 000000000..98d604cdb --- /dev/null +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs070.html @@ -0,0 +1,345 @@ + + + + + + + +Data Analysis and Machine Learning: Neural networks, from the simple perceptron to deep learning + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +

     

     

     

    + + + + +

    Layers used to build CNNs

    + +

    +A simple CNN is a sequence of layers, and every layer of a CNN +transforms one volume of activations to another through a +differentiable function. We use three main types of layers to build +CNN architectures: Convolutional Layer, Pooling Layer, and +Fully-Connected Layer (exactly as seen in regular Neural Networks). We +will stack these layers to form a full CNN architecture. + +

    +A simple CNN for image classification could have the architecture: + +

      +
    • INPUT (\( 32\times 32 \times 3 \)) will hold the raw pixel values of the image, in this case an image of width 32, height 32, and with three color channels R,G,B.
    • +
    • CONV layer will compute the output of neurons that are connected to local regions in the input, each computing a dot product between their weights and a small region they are connected to in the input volume. This may result in volume such as \( [32\times 32\times 12] \) if we decided to use 12 filters.
    • +
    • RELU layer will apply an elementwise activation function, such as the \( max(0,x) \) thresholding at zero. This leaves the size of the volume unchanged (\( [32\times 32\times 12] \)).
    • +
    • POOL layer will perform a downsampling operation along the spatial dimensions (width, height), resulting in volume such as \( [16\times 16\times 12] \).
    • +
    • FC (i.e. fully-connected) layer will compute the class scores, resulting in volume of size \( [1\times 1\times 10] \), where each of the 10 numbers correspond to a class score, such as among the 10 categories of the MNIST images we considered above . As with ordinary Neural Networks and as the name implies, each neuron in this layer will be connected to all the numbers in the previous volume.
    • +
    + +In this way, CNNs transform the original image layer by layer from the original pixel values to the final class scores. Note that some layers contain parameters and other don’t. In particular, the CONV/FC layers perform transformations that are a function of not only the activations in the input volume, but also of the parameters (the weights and biases of the neurons). On the other hand, the RELU/POOL layers will implement a fixed function. The parameters in the CONV/FC layers will be trained with gradient descent so that the class scores that the CNN computes are consistent with the labels in the training set for each image. + +

    +

    + +

    + + +
    + + + + + + + +
    + +
    + + + + + + diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs071.html b/doc/pub/NeuralNet/html/._NeuralNet-bs071.html new file mode 100644 index 000000000..a80853360 --- /dev/null +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs071.html @@ -0,0 +1,333 @@ + + + + + + + +Data Analysis and Machine Learning: Neural networks, from the simple perceptron to deep learning + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +

     

     

     

    + + + + +

    CNNs in brief

    + +

    +In summary: + +

      +
    • A CNN architecture is in the simplest case a list of Layers that transform the image volume into an output volume (e.g. holding the class scores)
    • +
    • There are a few distinct types of Layers (e.g. CONV/FC/RELU/POOL are by far the most popular)
    • +
    • Each Layer accepts an input 3D volume and transforms it to an output 3D volume through a differentiable function
    • +
    • Each Layer may or may not have parameters (e.g. CONV/FC do, RELU/POOL don’t)
    • +
    • Each Layer may or may not have additional hyperparameters (e.g. CONV/FC/POOL do, RELU doesn’t)
    • +
    + +

    + +

    + + +
    + + + + + + + +
    + +
    + + + + + + diff --git a/doc/pub/NeuralNet/html/._NeuralNet-bs072.html b/doc/pub/NeuralNet/html/._NeuralNet-bs072.html new file mode 100644 index 000000000..6061892ba --- /dev/null +++ b/doc/pub/NeuralNet/html/._NeuralNet-bs072.html @@ -0,0 +1,323 @@ + + + + + + + +Data Analysis and Machine Learning: Neural networks, from the simple perceptron to deep learning + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +

     

     

     

    + + + + +

    CNNs in more detail

    + +

    +More material to come with examples. + +

    + +

    + + +
    + + + + + + + +
    + +
    + + + + + + diff --git a/doc/pub/NeuralNet/html/NeuralNet-bs.html b/doc/pub/NeuralNet/html/NeuralNet-bs.html index 55accbec3..2280e9a0e 100644 --- a/doc/pub/NeuralNet/html/NeuralNet-bs.html +++ b/doc/pub/NeuralNet/html/NeuralNet-bs.html @@ -140,7 +140,19 @@ Automatically generated HTML file from DocOnce source ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -244,6 +256,12 @@ MathJax.Hub.Config({
  • Which activation function should we use?
  • A top-down perspective on Neural networks
  • Limitations of supervised learning with deep networks
  • +
  • Convolutional Neural Networks (recognizing images)
  • +
  • Regular NNs don’t scale well to full images
  • +
  • 3D volumes of neurons
  • +
  • Layers used to build CNNs
  • +
  • CNNs in brief
  • +
  • CNNs in more detail
  • @@ -278,7 +296,7 @@ MathJax.Hub.Config({
    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

    -

    Oct 16, 2018

    +

    Oct 18, 2018


    @@ -302,7 +320,7 @@ MathJax.Hub.Config({

  • 9
  • 10
  • ...
  • -
  • 67
  • +
  • 73
  • »
  • diff --git a/doc/pub/NeuralNet/html/NeuralNet-reveal.html b/doc/pub/NeuralNet/html/NeuralNet-reveal.html index 92412af97..6b24a7e81 100644 --- a/doc/pub/NeuralNet/html/NeuralNet-reveal.html +++ b/doc/pub/NeuralNet/html/NeuralNet-reveal.html @@ -148,7 +148,7 @@ MathJax.Hub.Config({
    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

     
    -

    Oct 16, 2018

    +

    Oct 18, 2018


    @@ -3085,7 +3085,153 @@ Here we list some of the important limitations of supervised neural network base

    -Some of these remarks are particular to DNNs, others are shared by all supervised learning methods. This motivates the use of unsupervised methods which in part circumnavigate these problems. +Some of these remarks are particular to DNNs, others are shared by all supervised learning methods. This motivates the use of unsupervised methods which in part circumvent these problems. + + + +

    +

    Convolutional Neural Networks (recognizing images)

    + +

    +Convolutional Neural Networks (CNN) are very similar to ordinary Neural Networks. + +

    +They are made up of neurons that have learnable weights and +biases. Each neuron receives some inputs, performs a dot product and +optionally follows it with a non-linearity. The whole network still +expresses a single differentiable score function: from the raw image +pixels on one end to class scores at the other. And they still have a +loss function (for example Softmax) on the last (fully-connected) layer +and all the tips/tricks we developed for learning regular Neural +Networks still apply (back propagation, gradient descent etc etc). + +

    +What is the difference? CNN architectures make the explicit assumption that +the inputs are images, which allows us to encode certain properties +into the architecture. These then make the forward function more +efficient to implement and vastly reduce the amount of parameters in +the network. + +

    +Here we provide only a superficial overview, for the more interested, we recommend highly the course +IN5400 – Machine Learning for Image Analysis +and the slides of CS231. +

    + + +
    +

    Regular NNs don’t scale well to full images

    + +

    +As an example, consider +an image of size \( 32\times 32\times 3 \) (32 wide, 32 high, 3 color channels), so a +single fully-connected neuron in a first hidden layer of a regular +Neural Network would have \( 32*32*3 = 3072 \) weights. This amount still +seems manageable, but clearly this fully-connected structure does not +scale to larger images. For example, an image of more respectable +size, say \( 200\times 200\times 3 \), would lead to neurons that have +\( 200*200*3 =120,000 \) weights. Moreover, we would almost certainly want to have +several such neurons, so the parameters would add up quickly! Clearly, +this full connectivity is wasteful and the huge number of parameters +would quickly lead to overfitting. + +

    +

    +
    +

    Figure 1: A regular 3-layer Neural Network.

    +

    +
    +
    + + +
    +

    3D volumes of neurons

    + +

    +Convolutional Neural Networks take advantage of the fact that the +input consists of images and they constrain the architecture in a more +sensible way. + +

    +In particular, unlike a regular Neural Network, the +layers of a CNN have neurons arranged in 3 dimensions: width, +height, depth. (Note that the word depth here refers to the third +dimension of an activation volume, not to the depth of a full Neural +Network, which can refer to the total number of layers in a network.) + +

    +To understand it better, the above example of an image +with an input volume of +activations has dimensions \( 32\times 32\times 3 \) (width, height, +depth respectively). + +

    +The neurons in a layer will +only be connected to a small region of the layer before it, instead of +all of the neurons in a fully-connected manner. Moreover, the final +output layer could for this specific image have dimensions \( 1\times 1 times 10 \), +because by the +end of the CNN architecture we will reduce the full image into a +single vector of class scores, arranged along the depth +dimension. + +

    +

    +
    +

    Figure 2: A CNN arranges its neurons in three dimensions (width, height, depth), as visualized in one of the layers. Every layer of a CNN transforms the 3D input volume to a 3D output volume of neuron activations. In this example, the red input layer holds the image, so its width and height would be the dimensions of the image, and the depth would be 3 (Red, Green, Blue channels).

    +

    +
    +
    + + +
    +

    Layers used to build CNNs

    + +

    +A simple CNN is a sequence of layers, and every layer of a CNN +transforms one volume of activations to another through a +differentiable function. We use three main types of layers to build +CNN architectures: Convolutional Layer, Pooling Layer, and +Fully-Connected Layer (exactly as seen in regular Neural Networks). We +will stack these layers to form a full CNN architecture. + +

    +A simple CNN for image classification could have the architecture: + +

      +

    • INPUT (\( 32\times 32 \times 3 \)) will hold the raw pixel values of the image, in this case an image of width 32, height 32, and with three color channels R,G,B.
    • +

    • CONV layer will compute the output of neurons that are connected to local regions in the input, each computing a dot product between their weights and a small region they are connected to in the input volume. This may result in volume such as \( [32\times 32\times 12] \) if we decided to use 12 filters.
    • +

    • RELU layer will apply an elementwise activation function, such as the \( max(0,x) \) thresholding at zero. This leaves the size of the volume unchanged (\( [32\times 32\times 12] \)).
    • +

    • POOL layer will perform a downsampling operation along the spatial dimensions (width, height), resulting in volume such as \( [16\times 16\times 12] \).
    • +

    • FC (i.e. fully-connected) layer will compute the class scores, resulting in volume of size \( [1\times 1\times 10] \), where each of the 10 numbers correspond to a class score, such as among the 10 categories of the MNIST images we considered above . As with ordinary Neural Networks and as the name implies, each neuron in this layer will be connected to all the numbers in the previous volume.
    • +
    +

    + +In this way, CNNs transform the original image layer by layer from the original pixel values to the final class scores. Note that some layers contain parameters and other don’t. In particular, the CONV/FC layers perform transformations that are a function of not only the activations in the input volume, but also of the parameters (the weights and biases of the neurons). On the other hand, the RELU/POOL layers will implement a fixed function. The parameters in the CONV/FC layers will be trained with gradient descent so that the class scores that the CNN computes are consistent with the labels in the training set for each image. +

    + + +
    +

    CNNs in brief

    + +

    +In summary: + +

      +

    • A CNN architecture is in the simplest case a list of Layers that transform the image volume into an output volume (e.g. holding the class scores)
    • +

    • There are a few distinct types of Layers (e.g. CONV/FC/RELU/POOL are by far the most popular)
    • +

    • Each Layer accepts an input 3D volume and transforms it to an output 3D volume through a differentiable function
    • +

    • Each Layer may or may not have parameters (e.g. CONV/FC do, RELU/POOL don’t)
    • +

    • Each Layer may or may not have additional hyperparameters (e.g. CONV/FC/POOL do, RELU doesn’t)
    • +
    +
    + + +
    +

    CNNs in more detail

    + +

    +More material to come with examples.

    diff --git a/doc/pub/NeuralNet/html/NeuralNet-solarized.html b/doc/pub/NeuralNet/html/NeuralNet-solarized.html index 1421708b8..52fb79998 100644 --- a/doc/pub/NeuralNet/html/NeuralNet-solarized.html +++ b/doc/pub/NeuralNet/html/NeuralNet-solarized.html @@ -160,7 +160,19 @@ div { text-align: justify; text-justify: inter-word; } ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -202,7 +214,7 @@ MathJax.Hub.Config({
    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

    -

    Oct 16, 2018

    +

    Oct 18, 2018












    @@ -2923,7 +2935,151 @@ Here we list some of the important limitations of supervised neural network base

  • Many problems are not about prediction. In natural science we are often interested in learning something about the underlying distribution that generates the data. In this case, it is often difficult to cast these ideas in a supervised learning setting. While the problems are related, it is possible to make good predictions with a wrong model. The model might or might not be useful for understanding the underlying science.
  • -Some of these remarks are particular to DNNs, others are shared by all supervised learning methods. This motivates the use of unsupervised methods which in part circumnavigate these problems. +Some of these remarks are particular to DNNs, others are shared by all supervised learning methods. This motivates the use of unsupervised methods which in part circumvent these problems. + +

    +









    + +

    Convolutional Neural Networks (recognizing images)

    + +

    +Convolutional Neural Networks (CNN) are very similar to ordinary Neural Networks. + +

    +They are made up of neurons that have learnable weights and +biases. Each neuron receives some inputs, performs a dot product and +optionally follows it with a non-linearity. The whole network still +expresses a single differentiable score function: from the raw image +pixels on one end to class scores at the other. And they still have a +loss function (for example Softmax) on the last (fully-connected) layer +and all the tips/tricks we developed for learning regular Neural +Networks still apply (back propagation, gradient descent etc etc). + +

    +What is the difference? CNN architectures make the explicit assumption that +the inputs are images, which allows us to encode certain properties +into the architecture. These then make the forward function more +efficient to implement and vastly reduce the amount of parameters in +the network. + +

    +Here we provide only a superficial overview, for the more interested, we recommend highly the course +IN5400 – Machine Learning for Image Analysis +and the slides of CS231. + +

    +









    + +

    Regular NNs don’t scale well to full images

    + +

    +As an example, consider +an image of size \( 32\times 32\times 3 \) (32 wide, 32 high, 3 color channels), so a +single fully-connected neuron in a first hidden layer of a regular +Neural Network would have \( 32*32*3 = 3072 \) weights. This amount still +seems manageable, but clearly this fully-connected structure does not +scale to larger images. For example, an image of more respectable +size, say \( 200\times 200\times 3 \), would lead to neurons that have +\( 200*200*3 =120,000 \) weights. Moreover, we would almost certainly want to have +several such neurons, so the parameters would add up quickly! Clearly, +this full connectivity is wasteful and the huge number of parameters +would quickly lead to overfitting. + +

    +

    +
    +

    Figure 1: A regular 3-layer Neural Network.

    +

    +
    + +

    +









    + +

    3D volumes of neurons

    + +

    +Convolutional Neural Networks take advantage of the fact that the +input consists of images and they constrain the architecture in a more +sensible way. + +

    +In particular, unlike a regular Neural Network, the +layers of a CNN have neurons arranged in 3 dimensions: width, +height, depth. (Note that the word depth here refers to the third +dimension of an activation volume, not to the depth of a full Neural +Network, which can refer to the total number of layers in a network.) + +

    +To understand it better, the above example of an image +with an input volume of +activations has dimensions \( 32\times 32\times 3 \) (width, height, +depth respectively). + +

    +The neurons in a layer will +only be connected to a small region of the layer before it, instead of +all of the neurons in a fully-connected manner. Moreover, the final +output layer could for this specific image have dimensions \( 1\times 1 times 10 \), +because by the +end of the CNN architecture we will reduce the full image into a +single vector of class scores, arranged along the depth +dimension. + +

    +

    +
    +

    Figure 2: A CNN arranges its neurons in three dimensions (width, height, depth), as visualized in one of the layers. Every layer of a CNN transforms the 3D input volume to a 3D output volume of neuron activations. In this example, the red input layer holds the image, so its width and height would be the dimensions of the image, and the depth would be 3 (Red, Green, Blue channels).

    +

    +
    + +

    + + +

    Layers used to build CNNs

    + +

    +A simple CNN is a sequence of layers, and every layer of a CNN +transforms one volume of activations to another through a +differentiable function. We use three main types of layers to build +CNN architectures: Convolutional Layer, Pooling Layer, and +Fully-Connected Layer (exactly as seen in regular Neural Networks). We +will stack these layers to form a full CNN architecture. + +

    +A simple CNN for image classification could have the architecture: + +

      +
    • INPUT (\( 32\times 32 \times 3 \)) will hold the raw pixel values of the image, in this case an image of width 32, height 32, and with three color channels R,G,B.
    • +
    • CONV layer will compute the output of neurons that are connected to local regions in the input, each computing a dot product between their weights and a small region they are connected to in the input volume. This may result in volume such as \( [32\times 32\times 12] \) if we decided to use 12 filters.
    • +
    • RELU layer will apply an elementwise activation function, such as the \( max(0,x) \) thresholding at zero. This leaves the size of the volume unchanged (\( [32\times 32\times 12] \)).
    • +
    • POOL layer will perform a downsampling operation along the spatial dimensions (width, height), resulting in volume such as \( [16\times 16\times 12] \).
    • +
    • FC (i.e. fully-connected) layer will compute the class scores, resulting in volume of size \( [1\times 1\times 10] \), where each of the 10 numbers correspond to a class score, such as among the 10 categories of the MNIST images we considered above . As with ordinary Neural Networks and as the name implies, each neuron in this layer will be connected to all the numbers in the previous volume.
    • +
    + +In this way, CNNs transform the original image layer by layer from the original pixel values to the final class scores. Note that some layers contain parameters and other don’t. In particular, the CONV/FC layers perform transformations that are a function of not only the activations in the input volume, but also of the parameters (the weights and biases of the neurons). On the other hand, the RELU/POOL layers will implement a fixed function. The parameters in the CONV/FC layers will be trained with gradient descent so that the class scores that the CNN computes are consistent with the labels in the training set for each image. + +

    +









    + +

    CNNs in brief

    + +

    +In summary: + +

      +
    • A CNN architecture is in the simplest case a list of Layers that transform the image volume into an output volume (e.g. holding the class scores)
    • +
    • There are a few distinct types of Layers (e.g. CONV/FC/RELU/POOL are by far the most popular)
    • +
    • Each Layer accepts an input 3D volume and transforms it to an output 3D volume through a differentiable function
    • +
    • Each Layer may or may not have parameters (e.g. CONV/FC do, RELU/POOL don’t)
    • +
    • Each Layer may or may not have additional hyperparameters (e.g. CONV/FC/POOL do, RELU doesn’t)
    • +
    + +









    + +

    CNNs in more detail

    + +

    +More material to come with examples. diff --git a/doc/pub/NeuralNet/html/NeuralNet.html b/doc/pub/NeuralNet/html/NeuralNet.html index 6c767d090..f38aa6a9d 100644 --- a/doc/pub/NeuralNet/html/NeuralNet.html +++ b/doc/pub/NeuralNet/html/NeuralNet.html @@ -165,7 +165,19 @@ div { text-align: justify; text-justify: inter-word; } ('Limitations of supervised learning with deep networks', 2, None, - '___sec65')]} + '___sec65'), + ('Convolutional Neural Networks (recognizing images)', + 2, + None, + '___sec66'), + ('Regular NNs don’t scale well to full images', + 2, + None, + '___sec67'), + ('3D volumes of neurons', 2, None, '___sec68'), + ('Layers used to build CNNs', 2, None, '___sec69'), + ('CNNs in brief', 2, None, '___sec70'), + ('CNNs in more detail', 2, None, '___sec71')]} end of tocinfo --> @@ -207,7 +219,7 @@ MathJax.Hub.Config({

    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

    -

    Oct 16, 2018

    +

    Oct 18, 2018












    @@ -2928,7 +2940,151 @@ Here we list some of the important limitations of supervised neural network base

  • Many problems are not about prediction. In natural science we are often interested in learning something about the underlying distribution that generates the data. In this case, it is often difficult to cast these ideas in a supervised learning setting. While the problems are related, it is possible to make good predictions with a wrong model. The model might or might not be useful for understanding the underlying science.
  • -Some of these remarks are particular to DNNs, others are shared by all supervised learning methods. This motivates the use of unsupervised methods which in part circumnavigate these problems. +Some of these remarks are particular to DNNs, others are shared by all supervised learning methods. This motivates the use of unsupervised methods which in part circumvent these problems. + +

    +









    + +

    Convolutional Neural Networks (recognizing images)

    + +

    +Convolutional Neural Networks (CNN) are very similar to ordinary Neural Networks. + +

    +They are made up of neurons that have learnable weights and +biases. Each neuron receives some inputs, performs a dot product and +optionally follows it with a non-linearity. The whole network still +expresses a single differentiable score function: from the raw image +pixels on one end to class scores at the other. And they still have a +loss function (for example Softmax) on the last (fully-connected) layer +and all the tips/tricks we developed for learning regular Neural +Networks still apply (back propagation, gradient descent etc etc). + +

    +What is the difference? CNN architectures make the explicit assumption that +the inputs are images, which allows us to encode certain properties +into the architecture. These then make the forward function more +efficient to implement and vastly reduce the amount of parameters in +the network. + +

    +Here we provide only a superficial overview, for the more interested, we recommend highly the course +IN5400 – Machine Learning for Image Analysis +and the slides of CS231. + +

    +









    + +

    Regular NNs don’t scale well to full images

    + +

    +As an example, consider +an image of size \( 32\times 32\times 3 \) (32 wide, 32 high, 3 color channels), so a +single fully-connected neuron in a first hidden layer of a regular +Neural Network would have \( 32*32*3 = 3072 \) weights. This amount still +seems manageable, but clearly this fully-connected structure does not +scale to larger images. For example, an image of more respectable +size, say \( 200\times 200\times 3 \), would lead to neurons that have +\( 200*200*3 =120,000 \) weights. Moreover, we would almost certainly want to have +several such neurons, so the parameters would add up quickly! Clearly, +this full connectivity is wasteful and the huge number of parameters +would quickly lead to overfitting. + +

    +

    +
    +

    Figure 1: A regular 3-layer Neural Network.

    +

    +
    + +

    +









    + +

    3D volumes of neurons

    + +

    +Convolutional Neural Networks take advantage of the fact that the +input consists of images and they constrain the architecture in a more +sensible way. + +

    +In particular, unlike a regular Neural Network, the +layers of a CNN have neurons arranged in 3 dimensions: width, +height, depth. (Note that the word depth here refers to the third +dimension of an activation volume, not to the depth of a full Neural +Network, which can refer to the total number of layers in a network.) + +

    +To understand it better, the above example of an image +with an input volume of +activations has dimensions \( 32\times 32\times 3 \) (width, height, +depth respectively). + +

    +The neurons in a layer will +only be connected to a small region of the layer before it, instead of +all of the neurons in a fully-connected manner. Moreover, the final +output layer could for this specific image have dimensions \( 1\times 1 times 10 \), +because by the +end of the CNN architecture we will reduce the full image into a +single vector of class scores, arranged along the depth +dimension. + +

    +

    +
    +

    Figure 2: A CNN arranges its neurons in three dimensions (width, height, depth), as visualized in one of the layers. Every layer of a CNN transforms the 3D input volume to a 3D output volume of neuron activations. In this example, the red input layer holds the image, so its width and height would be the dimensions of the image, and the depth would be 3 (Red, Green, Blue channels).

    +

    +
    + +

    + + +

    Layers used to build CNNs

    + +

    +A simple CNN is a sequence of layers, and every layer of a CNN +transforms one volume of activations to another through a +differentiable function. We use three main types of layers to build +CNN architectures: Convolutional Layer, Pooling Layer, and +Fully-Connected Layer (exactly as seen in regular Neural Networks). We +will stack these layers to form a full CNN architecture. + +

    +A simple CNN for image classification could have the architecture: + +

      +
    • INPUT (\( 32\times 32 \times 3 \)) will hold the raw pixel values of the image, in this case an image of width 32, height 32, and with three color channels R,G,B.
    • +
    • CONV layer will compute the output of neurons that are connected to local regions in the input, each computing a dot product between their weights and a small region they are connected to in the input volume. This may result in volume such as \( [32\times 32\times 12] \) if we decided to use 12 filters.
    • +
    • RELU layer will apply an elementwise activation function, such as the \( max(0,x) \) thresholding at zero. This leaves the size of the volume unchanged (\( [32\times 32\times 12] \)).
    • +
    • POOL layer will perform a downsampling operation along the spatial dimensions (width, height), resulting in volume such as \( [16\times 16\times 12] \).
    • +
    • FC (i.e. fully-connected) layer will compute the class scores, resulting in volume of size \( [1\times 1\times 10] \), where each of the 10 numbers correspond to a class score, such as among the 10 categories of the MNIST images we considered above . As with ordinary Neural Networks and as the name implies, each neuron in this layer will be connected to all the numbers in the previous volume.
    • +
    + +In this way, CNNs transform the original image layer by layer from the original pixel values to the final class scores. Note that some layers contain parameters and other don’t. In particular, the CONV/FC layers perform transformations that are a function of not only the activations in the input volume, but also of the parameters (the weights and biases of the neurons). On the other hand, the RELU/POOL layers will implement a fixed function. The parameters in the CONV/FC layers will be trained with gradient descent so that the class scores that the CNN computes are consistent with the labels in the training set for each image. + +

    +









    + +

    CNNs in brief

    + +

    +In summary: + +

      +
    • A CNN architecture is in the simplest case a list of Layers that transform the image volume into an output volume (e.g. holding the class scores)
    • +
    • There are a few distinct types of Layers (e.g. CONV/FC/RELU/POOL are by far the most popular)
    • +
    • Each Layer accepts an input 3D volume and transforms it to an output 3D volume through a differentiable function
    • +
    • Each Layer may or may not have parameters (e.g. CONV/FC do, RELU/POOL don’t)
    • +
    • Each Layer may or may not have additional hyperparameters (e.g. CONV/FC/POOL do, RELU doesn’t)
    • +
    + +









    + +

    CNNs in more detail

    + +

    +More material to come with examples. diff --git a/doc/pub/NeuralNet/ipynb/NeuralNet.ipynb b/doc/pub/NeuralNet/ipynb/NeuralNet.ipynb index f4a238955..85ac78395 100644 --- a/doc/pub/NeuralNet/ipynb/NeuralNet.ipynb +++ b/doc/pub/NeuralNet/ipynb/NeuralNet.ipynb @@ -10,7 +10,7 @@ " \n", "**Morten Hjorth-Jensen**, Department of Physics, University of Oslo and Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University\n", "\n", - "Date: **Oct 16, 2018**\n", + "Date: **Oct 18, 2018**\n", "\n", "Copyright 1999-2018, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license\n", "\n", @@ -3307,7 +3307,135 @@ "\n", "* **Many problems are not about prediction.** In natural science we are often interested in learning something about the underlying distribution that generates the data. In this case, it is often difficult to cast these ideas in a supervised learning setting. While the problems are related, it is possible to make good predictions with a *wrong* model. The model might or might not be useful for understanding the underlying science.\n", "\n", - "Some of these remarks are particular to DNNs, others are shared by all supervised learning methods. This motivates the use of unsupervised methods which in part circumnavigate these problems." + "Some of these remarks are particular to DNNs, others are shared by all supervised learning methods. This motivates the use of unsupervised methods which in part circumvent these problems.\n", + "\n", + "\n", + "## Convolutional Neural Networks (recognizing images)\n", + "\n", + "Convolutional Neural Networks (CNN) are very similar to ordinary Neural Networks.\n", + "\n", + "They are made up of neurons that have learnable weights and\n", + "biases. Each neuron receives some inputs, performs a dot product and\n", + "optionally follows it with a non-linearity. The whole network still\n", + "expresses a single differentiable score function: from the raw image\n", + "pixels on one end to class scores at the other. And they still have a\n", + "loss function (for example Softmax) on the last (fully-connected) layer\n", + "and all the tips/tricks we developed for learning regular Neural\n", + "Networks still apply (back propagation, gradient descent etc etc).\n", + "\n", + "What is the difference? **CNN architectures make the explicit assumption that\n", + "the inputs are images, which allows us to encode certain properties\n", + "into the architecture. These then make the forward function more\n", + "efficient to implement and vastly reduce the amount of parameters in\n", + "the network.**\n", + "\n", + "Here we provide only a superficial overview, for the more interested, we recommend highly the course\n", + "[IN5400 – Machine Learning for Image Analysis](https://www.uio.no/studier/emner/matnat/ifi/IN5400/index-eng.html)\n", + "and the slides of [CS231](http://cs231n.github.io/convolutional-networks/).\n", + "\n", + "## Regular NNs don’t scale well to full images\n", + "\n", + "As an example, consider\n", + "an image of size $32\\times 32\\times 3$ (32 wide, 32 high, 3 color channels), so a\n", + "single fully-connected neuron in a first hidden layer of a regular\n", + "Neural Network would have $32*32*3 = 3072$ weights. This amount still\n", + "seems manageable, but clearly this fully-connected structure does not\n", + "scale to larger images. For example, an image of more respectable\n", + "size, say $200\\times 200\\times 3$, would lead to neurons that have \n", + "$200*200*3 =120,000$ weights. Moreover, we would almost certainly want to have\n", + "several such neurons, so the parameters would add up quickly! Clearly,\n", + "this full connectivity is wasteful and the huge number of parameters\n", + "would quickly lead to overfitting.\n", + "\n", + "\n", + "\n", + "\n", + "

    A regular 3-layer Neural Network.

    \n", + "\n", + "\n", + "\n", + "\n", + "\n", + "## 3D volumes of neurons\n", + "\n", + "Convolutional Neural Networks take advantage of the fact that the\n", + "input consists of images and they constrain the architecture in a more\n", + "sensible way. \n", + "\n", + "In particular, unlike a regular Neural Network, the\n", + "layers of a CNN have neurons arranged in 3 dimensions: width,\n", + "height, depth. (Note that the word depth here refers to the third\n", + "dimension of an activation volume, not to the depth of a full Neural\n", + "Network, which can refer to the total number of layers in a network.)\n", + "\n", + "To understand it better, the above example of an image \n", + "with an input volume of\n", + "activations has dimensions $32\\times 32\\times 3$ (width, height,\n", + "depth respectively). \n", + "\n", + "The neurons in a layer will\n", + "only be connected to a small region of the layer before it, instead of\n", + "all of the neurons in a fully-connected manner. Moreover, the final\n", + "output layer could for this specific image have dimensions $1\\times 1 times 10$, \n", + "because by the\n", + "end of the CNN architecture we will reduce the full image into a\n", + "single vector of class scores, arranged along the depth\n", + "dimension. \n", + "\n", + "\n", + "\n", + "\n", + "

    A CNN arranges its neurons in three dimensions (width, height, depth), as visualized in one of the layers. Every layer of a CNN transforms the 3D input volume to a 3D output volume of neuron activations. In this example, the red input layer holds the image, so its width and height would be the dimensions of the image, and the depth would be 3 (Red, Green, Blue channels).

    \n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "## Layers used to build CNNs\n", + "\n", + "\n", + "A simple CNN is a sequence of layers, and every layer of a CNN\n", + "transforms one volume of activations to another through a\n", + "differentiable function. We use three main types of layers to build\n", + "CNN architectures: Convolutional Layer, Pooling Layer, and\n", + "Fully-Connected Layer (exactly as seen in regular Neural Networks). We\n", + "will stack these layers to form a full CNN architecture.\n", + "\n", + "A simple CNN for image classification could have the architecture:\n", + "\n", + "* INPUT ($32\\times 32 \\times 3$) will hold the raw pixel values of the image, in this case an image of width 32, height 32, and with three color channels R,G,B.\n", + "\n", + "* CONV layer will compute the output of neurons that are connected to local regions in the input, each computing a dot product between their weights and a small region they are connected to in the input volume. This may result in volume such as $[32\\times 32\\times 12]$ if we decided to use 12 filters.\n", + "\n", + "* RELU layer will apply an elementwise activation function, such as the $max(0,x)$ thresholding at zero. This leaves the size of the volume unchanged ($[32\\times 32\\times 12]$).\n", + "\n", + "* POOL layer will perform a downsampling operation along the spatial dimensions (width, height), resulting in volume such as $[16\\times 16\\times 12]$.\n", + "\n", + "* FC (i.e. fully-connected) layer will compute the class scores, resulting in volume of size $[1\\times 1\\times 10]$, where each of the 10 numbers correspond to a class score, such as among the 10 categories of the MNIST images we considered above . As with ordinary Neural Networks and as the name implies, each neuron in this layer will be connected to all the numbers in the previous volume.\n", + "\n", + "In this way, CNNs transform the original image layer by layer from the original pixel values to the final class scores. Note that some layers contain parameters and other don’t. In particular, the CONV/FC layers perform transformations that are a function of not only the activations in the input volume, but also of the parameters (the weights and biases of the neurons). On the other hand, the RELU/POOL layers will implement a fixed function. The parameters in the CONV/FC layers will be trained with gradient descent so that the class scores that the CNN computes are consistent with the labels in the training set for each image.\n", + "\n", + "\n", + "## CNNs in brief\n", + "\n", + "In summary:\n", + "\n", + "* A CNN architecture is in the simplest case a list of Layers that transform the image volume into an output volume (e.g. holding the class scores)\n", + "\n", + "* There are a few distinct types of Layers (e.g. CONV/FC/RELU/POOL are by far the most popular)\n", + "\n", + "* Each Layer accepts an input 3D volume and transforms it to an output 3D volume through a differentiable function\n", + "\n", + "* Each Layer may or may not have parameters (e.g. CONV/FC do, RELU/POOL don’t)\n", + "\n", + "* Each Layer may or may not have additional hyperparameters (e.g. CONV/FC/POOL do, RELU doesn’t)\n", + "\n", + "## CNNs in more detail\n", + "\n", + "More material to come with examples." ] } ], diff --git a/doc/pub/NeuralNet/ipynb/ipynb-NeuralNet-src.tar.gz b/doc/pub/NeuralNet/ipynb/ipynb-NeuralNet-src.tar.gz index af4eab7ec..44dcf094e 100644 Binary files a/doc/pub/NeuralNet/ipynb/ipynb-NeuralNet-src.tar.gz and b/doc/pub/NeuralNet/ipynb/ipynb-NeuralNet-src.tar.gz differ diff --git a/doc/pub/NeuralNet/pdf/NeuralNet-minted.pdf b/doc/pub/NeuralNet/pdf/NeuralNet-minted.pdf index 6a0d241ab..d6f1918c0 100644 Binary files a/doc/pub/NeuralNet/pdf/NeuralNet-minted.pdf and b/doc/pub/NeuralNet/pdf/NeuralNet-minted.pdf differ diff --git a/doc/pub/Regression/html/._Regression-bs000.html b/doc/pub/Regression/html/._Regression-bs000.html index e247df55f..f2952f17c 100644 --- a/doc/pub/Regression/html/._Regression-bs000.html +++ b/doc/pub/Regression/html/._Regression-bs000.html @@ -433,7 +433,7 @@ MathJax.Hub.Config({
    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

    -

    Oct 11, 2018

    +

    Oct 18, 2018


    diff --git a/doc/pub/Regression/html/._Regression-bs109.html b/doc/pub/Regression/html/._Regression-bs109.html index 344f96c72..59012db88 100644 --- a/doc/pub/Regression/html/._Regression-bs109.html +++ b/doc/pub/Regression/html/._Regression-bs109.html @@ -453,7 +453,7 @@ on the left hand side. return x.T @ y @ scl.inv( x.T @ x + np.eye(x.shape[1], x.shape[1]) * _lambda ) -lambda = 0.1 +_lambda = 0.1 omega_ridge = get_ridge_weights(X_train_own, y_train, np.array([_lambda])) clf_ridge = skl.Ridge(alpha=_lambda).fit(X_train, y_train) J_ridge_own = omega_ridge[1:].reshape(L, L) diff --git a/doc/pub/Regression/html/Regression-bs.html b/doc/pub/Regression/html/Regression-bs.html index e247df55f..f2952f17c 100644 --- a/doc/pub/Regression/html/Regression-bs.html +++ b/doc/pub/Regression/html/Regression-bs.html @@ -433,7 +433,7 @@ MathJax.Hub.Config({

    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

    -

    Oct 11, 2018

    +

    Oct 18, 2018


    diff --git a/doc/pub/Regression/html/Regression-reveal.html b/doc/pub/Regression/html/Regression-reveal.html index dda913849..b5a627cb8 100644 --- a/doc/pub/Regression/html/Regression-reveal.html +++ b/doc/pub/Regression/html/Regression-reveal.html @@ -148,7 +148,7 @@ MathJax.Hub.Config({

    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

     
    -

    Oct 11, 2018

    +

    Oct 18, 2018


    @@ -3908,7 +3908,7 @@ on the left hand side. return x.T @ y @ scl.inv( x.T @ x + np.eye(x.shape[1], x.shape[1]) * _lambda ) -lambda = 0.1 +_lambda = 0.1 omega_ridge = get_ridge_weights(X_train_own, y_train, np.array([_lambda])) clf_ridge = skl.Ridge(alpha=_lambda).fit(X_train, y_train) J_ridge_own = omega_ridge[1:].reshape(L, L) diff --git a/doc/pub/Regression/html/Regression-solarized.html b/doc/pub/Regression/html/Regression-solarized.html index 6808aa209..fc93c73e8 100644 --- a/doc/pub/Regression/html/Regression-solarized.html +++ b/doc/pub/Regression/html/Regression-solarized.html @@ -310,7 +310,7 @@ MathJax.Hub.Config({

    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

    -

    Oct 11, 2018

    +

    Oct 18, 2018












    @@ -3833,7 +3833,7 @@ on the left hand side. return x.T @ y @ scl.inv( x.T @ x + np.eye(x.shape[1], x.shape[1]) * _lambda ) -lambda = 0.1 +_lambda = 0.1 omega_ridge = get_ridge_weights(X_train_own, y_train, np.array([_lambda])) clf_ridge = skl.Ridge(alpha=_lambda).fit(X_train, y_train) J_ridge_own = omega_ridge[1:].reshape(L, L) diff --git a/doc/pub/Regression/html/Regression.html b/doc/pub/Regression/html/Regression.html index d19243051..bd9eb1210 100644 --- a/doc/pub/Regression/html/Regression.html +++ b/doc/pub/Regression/html/Regression.html @@ -315,7 +315,7 @@ MathJax.Hub.Config({

    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

    -

    Oct 11, 2018

    +

    Oct 18, 2018












    @@ -3838,7 +3838,7 @@ on the left hand side. return x.T @ y @ scl.inv( x.T @ x + np.eye(x.shape[1], x.shape[1]) * _lambda ) -lambda = 0.1 +_lambda = 0.1 omega_ridge = get_ridge_weights(X_train_own, y_train, np.array([_lambda])) clf_ridge = skl.Ridge(alpha=_lambda).fit(X_train, y_train) J_ridge_own = omega_ridge[1:].reshape(L, L) diff --git a/doc/pub/Regression/ipynb/Regression.ipynb b/doc/pub/Regression/ipynb/Regression.ipynb index 3600fe608..b6a28684b 100644 --- a/doc/pub/Regression/ipynb/Regression.ipynb +++ b/doc/pub/Regression/ipynb/Regression.ipynb @@ -10,7 +10,7 @@ " \n", "**Morten Hjorth-Jensen**, Department of Physics, University of Oslo and Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University\n", "\n", - "Date: **Oct 11, 2018**\n", + "Date: **Oct 18, 2018**\n", "\n", "Copyright 1999-2018, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license\n", "\n", @@ -5083,7 +5083,7 @@ " return x.T @ y @ scl.inv(\n", " x.T @ x + np.eye(x.shape[1], x.shape[1]) * _lambda\n", " )\n", - "lambda = 0.1\n", + "_lambda = 0.1\n", "omega_ridge = get_ridge_weights(X_train_own, y_train, np.array([_lambda]))\n", "clf_ridge = skl.Ridge(alpha=_lambda).fit(X_train, y_train)\n", "J_ridge_own = omega_ridge[1:].reshape(L, L)\n", diff --git a/doc/pub/Regression/ipynb/ipynb-Regression-src.tar.gz b/doc/pub/Regression/ipynb/ipynb-Regression-src.tar.gz index 43dd2e263..7da7a75aa 100644 Binary files a/doc/pub/Regression/ipynb/ipynb-Regression-src.tar.gz and b/doc/pub/Regression/ipynb/ipynb-Regression-src.tar.gz differ diff --git a/doc/pub/Regression/pdf/Regression-beamer-handouts2x3.pdf b/doc/pub/Regression/pdf/Regression-beamer-handouts2x3.pdf index 876912a1a..50fc490c0 100644 Binary files a/doc/pub/Regression/pdf/Regression-beamer-handouts2x3.pdf and b/doc/pub/Regression/pdf/Regression-beamer-handouts2x3.pdf differ diff --git a/doc/pub/Regression/pdf/Regression-beamer.pdf b/doc/pub/Regression/pdf/Regression-beamer.pdf index 685138f6d..afc4f2dd9 100644 Binary files a/doc/pub/Regression/pdf/Regression-beamer.pdf and b/doc/pub/Regression/pdf/Regression-beamer.pdf differ diff --git a/doc/pub/Regression/pdf/Regression-minted.pdf b/doc/pub/Regression/pdf/Regression-minted.pdf index 8478d424b..9ed537841 100644 Binary files a/doc/pub/Regression/pdf/Regression-minted.pdf and b/doc/pub/Regression/pdf/Regression-minted.pdf differ diff --git a/doc/pub/Splines/html/._Splines-bs000.html b/doc/pub/Splines/html/._Splines-bs000.html index e716541a9..9941cf5dd 100644 --- a/doc/pub/Splines/html/._Splines-bs000.html +++ b/doc/pub/Splines/html/._Splines-bs000.html @@ -289,7 +289,7 @@ MathJax.Hub.Config({

    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

    -

    Oct 12, 2018

    +

    Oct 18, 2018


    diff --git a/doc/pub/Splines/html/Splines-bs.html b/doc/pub/Splines/html/Splines-bs.html index e716541a9..9941cf5dd 100644 --- a/doc/pub/Splines/html/Splines-bs.html +++ b/doc/pub/Splines/html/Splines-bs.html @@ -289,7 +289,7 @@ MathJax.Hub.Config({

    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

    -

    Oct 12, 2018

    +

    Oct 18, 2018


    diff --git a/doc/pub/Splines/html/Splines-reveal.html b/doc/pub/Splines/html/Splines-reveal.html index cd16912c3..e3efed135 100644 --- a/doc/pub/Splines/html/Splines-reveal.html +++ b/doc/pub/Splines/html/Splines-reveal.html @@ -148,7 +148,7 @@ MathJax.Hub.Config({

    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

     
    -

    Oct 12, 2018

    +

    Oct 18, 2018


    diff --git a/doc/pub/Splines/html/Splines-solarized.html b/doc/pub/Splines/html/Splines-solarized.html index c60ec43bb..380b5b670 100644 --- a/doc/pub/Splines/html/Splines-solarized.html +++ b/doc/pub/Splines/html/Splines-solarized.html @@ -208,7 +208,7 @@ MathJax.Hub.Config({

    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

    -

    Oct 12, 2018

    +

    Oct 18, 2018












    diff --git a/doc/pub/Splines/html/Splines.html b/doc/pub/Splines/html/Splines.html index 6fc0d1e6f..f8973a018 100644 --- a/doc/pub/Splines/html/Splines.html +++ b/doc/pub/Splines/html/Splines.html @@ -213,7 +213,7 @@ MathJax.Hub.Config({

    [2] Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University

    -

    Oct 12, 2018

    +

    Oct 18, 2018












    diff --git a/doc/pub/Splines/ipynb/Splines.ipynb b/doc/pub/Splines/ipynb/Splines.ipynb index 45e35ec62..ed1aa84c5 100644 --- a/doc/pub/Splines/ipynb/Splines.ipynb +++ b/doc/pub/Splines/ipynb/Splines.ipynb @@ -10,7 +10,7 @@ " \n", "**Morten Hjorth-Jensen**, Department of Physics, University of Oslo and Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University\n", "\n", - "Date: **Oct 12, 2018**\n", + "Date: **Oct 18, 2018**\n", "\n", "Copyright 1999-2018, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license\n", "\n", diff --git a/doc/pub/Splines/ipynb/ipynb-Splines-src.tar.gz b/doc/pub/Splines/ipynb/ipynb-Splines-src.tar.gz index f23e679fa..4e934655f 100644 Binary files a/doc/pub/Splines/ipynb/ipynb-Splines-src.tar.gz and b/doc/pub/Splines/ipynb/ipynb-Splines-src.tar.gz differ diff --git a/doc/pub/Splines/pdf/Splines-minted.pdf b/doc/pub/Splines/pdf/Splines-minted.pdf index 1658bdf4e..7f259d0bf 100644 Binary files a/doc/pub/Splines/pdf/Splines-minted.pdf and b/doc/pub/Splines/pdf/Splines-minted.pdf differ diff --git a/doc/src/LogisticRegression/LogReg.do.txt b/doc/src/LogisticRegression/LogReg.do.txt index a3c08ca14..67812e97c 100644 --- a/doc/src/LogisticRegression/LogReg.do.txt +++ b/doc/src/LogisticRegression/LogReg.do.txt @@ -487,7 +487,7 @@ X_train, X_test, y_train, y_test = skms.train_test_split( ) !ec -Using a small training set yields a better accuracy. This will be discussed in the end. + !split ===== Logistic regression ===== @@ -672,8 +672,4 @@ transition and is therefore highly non-linear. The ROC curve for the training data looks quite good, but as the testing data is so far off we see that we are dealing with an overfit model. -A previous run with $50\%$ of the data used for training yielded a -worse performance than using a smaller training set. This again gives -confidence to the fact that logistic regression is not able to -correctly fit the Ising model as it is not a linear model. diff --git a/doc/src/NeuralNet/NeuralNet.do.txt b/doc/src/NeuralNet/NeuralNet.do.txt index 6d2e4ef48..9fa665949 100644 --- a/doc/src/NeuralNet/NeuralNet.do.txt +++ b/doc/src/NeuralNet/NeuralNet.do.txt @@ -2450,4 +2450,115 @@ Here we list some of the important limitations of supervised neural network base * _Homogeneous data._ Almost all DNNs deal with homogeneous data of one type. It is very hard to design architectures that mix and match data types (i.e.~some continuous variables, some discrete variables, some time series). In applications beyond images, video, and language, this is often what is required. In contrast, ensemble models like random forests or gradient-boosted trees have no difficulty handling mixed data types. * _Many problems are not about prediction._ In natural science we are often interested in learning something about the underlying distribution that generates the data. In this case, it is often difficult to cast these ideas in a supervised learning setting. While the problems are related, it is possible to make good predictions with a *wrong* model. The model might or might not be useful for understanding the underlying science. -Some of these remarks are particular to DNNs, others are shared by all supervised learning methods. This motivates the use of unsupervised methods which in part circumnavigate these problems. +Some of these remarks are particular to DNNs, others are shared by all supervised learning methods. This motivates the use of unsupervised methods which in part circumvent these problems. + + +!split +===== Convolutional Neural Networks (recognizing images) ===== + +Convolutional Neural Networks (CNN) are very similar to ordinary Neural Networks. + +They are made up of neurons that have learnable weights and +biases. Each neuron receives some inputs, performs a dot product and +optionally follows it with a non-linearity. The whole network still +expresses a single differentiable score function: from the raw image +pixels on one end to class scores at the other. And they still have a +loss function (for example Softmax) on the last (fully-connected) layer +and all the tips/tricks we developed for learning regular Neural +Networks still apply (back propagation, gradient descent etc etc). + +What is the difference? _CNN architectures make the explicit assumption that +the inputs are images, which allows us to encode certain properties +into the architecture. These then make the forward function more +efficient to implement and vastly reduce the amount of parameters in +the network._ + +Here we provide only a superficial overview, for the more interested, we recommend highly the course +"IN5400 – Machine Learning for Image Analysis":"https://www.uio.no/studier/emner/matnat/ifi/IN5400/index-eng.html" +and the slides of "CS231":"http://cs231n.github.io/convolutional-networks/". + +!split +===== Regular NNs don’t scale well to full images ===== + +As an example, consider +an image of size $32\times 32\times 3$ (32 wide, 32 high, 3 color channels), so a +single fully-connected neuron in a first hidden layer of a regular +Neural Network would have $32*32*3 = 3072$ weights. This amount still +seems manageable, but clearly this fully-connected structure does not +scale to larger images. For example, an image of more respectable +size, say $200\times 200\times 3$, would lead to neurons that have +$200*200*3 =120,000$ weights. Moreover, we would almost certainly want to have +several such neurons, so the parameters would add up quickly! Clearly, +this full connectivity is wasteful and the huge number of parameters +would quickly lead to overfitting. + +FIGURE: [figslides/nn.jpeg, width=500 frac=0.6] A regular 3-layer Neural Network. + +!split +===== 3D volumes of neurons ===== + +Convolutional Neural Networks take advantage of the fact that the +input consists of images and they constrain the architecture in a more +sensible way. + +In particular, unlike a regular Neural Network, the +layers of a CNN have neurons arranged in 3 dimensions: width, +height, depth. (Note that the word depth here refers to the third +dimension of an activation volume, not to the depth of a full Neural +Network, which can refer to the total number of layers in a network.) + +To understand it better, the above example of an image +with an input volume of +activations has dimensions $32\times 32\times 3$ (width, height, +depth respectively). + +The neurons in a layer will +only be connected to a small region of the layer before it, instead of +all of the neurons in a fully-connected manner. Moreover, the final +output layer could for this specific image have dimensions $1\times 1 times 10$, +because by the +end of the CNN architecture we will reduce the full image into a +single vector of class scores, arranged along the depth +dimension. + +FIGURE: [figslides/cnn.jpeg, width=500 frac=0.6] A CNN arranges its neurons in three dimensions (width, height, depth), as visualized in one of the layers. Every layer of a CNN transforms the 3D input volume to a 3D output volume of neuron activations. In this example, the red input layer holds the image, so its width and height would be the dimensions of the image, and the depth would be 3 (Red, Green, Blue channels). + + + +!split +===== Layers used to build CNNs ===== + + +A simple CNN is a sequence of layers, and every layer of a CNN +transforms one volume of activations to another through a +differentiable function. We use three main types of layers to build +CNN architectures: Convolutional Layer, Pooling Layer, and +Fully-Connected Layer (exactly as seen in regular Neural Networks). We +will stack these layers to form a full CNN architecture. + +A simple CNN for image classification could have the architecture: + +* INPUT ($32\times 32 \times 3$) will hold the raw pixel values of the image, in this case an image of width 32, height 32, and with three color channels R,G,B. +* CONV layer will compute the output of neurons that are connected to local regions in the input, each computing a dot product between their weights and a small region they are connected to in the input volume. This may result in volume such as $[32\times 32\times 12]$ if we decided to use 12 filters. +* RELU layer will apply an elementwise activation function, such as the $max(0,x)$ thresholding at zero. This leaves the size of the volume unchanged ($[32\times 32\times 12]$). +* POOL layer will perform a downsampling operation along the spatial dimensions (width, height), resulting in volume such as $[16\times 16\times 12]$. +* FC (i.e. fully-connected) layer will compute the class scores, resulting in volume of size $[1\times 1\times 10]$, where each of the 10 numbers correspond to a class score, such as among the 10 categories of the MNIST images we considered above . As with ordinary Neural Networks and as the name implies, each neuron in this layer will be connected to all the numbers in the previous volume. + +In this way, CNNs transform the original image layer by layer from the original pixel values to the final class scores. Note that some layers contain parameters and other don’t. In particular, the CONV/FC layers perform transformations that are a function of not only the activations in the input volume, but also of the parameters (the weights and biases of the neurons). On the other hand, the RELU/POOL layers will implement a fixed function. The parameters in the CONV/FC layers will be trained with gradient descent so that the class scores that the CNN computes are consistent with the labels in the training set for each image. + + +!split +===== CNNs in brief ===== + +In summary: + +* A CNN architecture is in the simplest case a list of Layers that transform the image volume into an output volume (e.g. holding the class scores) +* There are a few distinct types of Layers (e.g. CONV/FC/RELU/POOL are by far the most popular) +* Each Layer accepts an input 3D volume and transforms it to an output 3D volume through a differentiable function +* Each Layer may or may not have parameters (e.g. CONV/FC do, RELU/POOL don’t) +* Each Layer may or may not have additional hyperparameters (e.g. CONV/FC/POOL do, RELU doesn’t) + +!split +===== CNNs in more detail ===== + +More material to come with examples. diff --git a/doc/src/NeuralNet/figslides/cnn.jpeg b/doc/src/NeuralNet/figslides/cnn.jpeg new file mode 100644 index 000000000..67bf3ced7 Binary files /dev/null and b/doc/src/NeuralNet/figslides/cnn.jpeg differ diff --git a/doc/src/NeuralNet/figslides/nn.jpeg b/doc/src/NeuralNet/figslides/nn.jpeg new file mode 100644 index 000000000..0a495cfe4 Binary files /dev/null and b/doc/src/NeuralNet/figslides/nn.jpeg differ diff --git a/doc/src/Regression/Regression.do.txt b/doc/src/Regression/Regression.do.txt index d09a0c0b7..9e6ccdde7 100644 --- a/doc/src/Regression/Regression.do.txt +++ b/doc/src/Regression/Regression.do.txt @@ -3165,7 +3165,7 @@ def get_ridge_weights(x: np.ndarray, y: np.ndarray, _lambda: float) -> np.ndarra return x.T @ y @ scl.inv( x.T @ x + np.eye(x.shape[1], x.shape[1]) * _lambda ) -lambda = 0.1 +_lambda = 0.1 omega_ridge = get_ridge_weights(X_train_own, y_train, np.array([_lambda])) clf_ridge = skl.Ridge(alpha=_lambda).fit(X_train, y_train) J_ridge_own = omega_ridge[1:].reshape(L, L) diff --git a/doc/src/Splines/Splines.do.txt b/doc/src/Splines/Splines.do.txt index 8a8096fd7..57a5d4059 100644 --- a/doc/src/Splines/Splines.do.txt +++ b/doc/src/Splines/Splines.do.txt @@ -1704,8 +1704,6 @@ plt.show() - - !split ===== Using gradient descent methods, limitations =====