You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
original source: <https://commons.wikimedia.org/wiki/File:Colored_neural_network.svg>
138
138
](fig/01_neural_net.png){
139
139
alt='A diagram of a three layer neural network with an input layer, one hidden layer, and an output layer.'
140
140
}
@@ -198,6 +198,7 @@ a.
198
198
| 0 | 1 |**1**|
199
199
| 1 | 1 |**0**|
200
200
| 1 | 0 |**1**|
201
+
201
202
b. This solves the XOR logical problem, the output is 1 if only one of the two inputs is 1.
202
203
203
204
:::
@@ -229,7 +230,7 @@ Note that the color coding refers to different layer types that will be introduc
229
230
as we proceed in this lesson.](fig/01_deep_network.png){alt='An example of a deep neural network'}
230
231
231
232

233
+
](fig/01_nn_abstraction_layers.png){alt='Example of two different neural networks and how each layer process different abstract representations of input data'}
233
234
234
235
### How do neural networks learn?
235
236
What happens in a neural network during the training process?
@@ -455,10 +456,10 @@ Think about a problem you would like to use deep learning to solve.
455
456
2. What data inputs and outputs will you have?
456
457
3. Do you think you will need to train the network or will a pre-trained network be suitable?
457
458
4. What data do you have to train with? What preparation will your data need? Consider both the data you are going to predict/classify from and the data you will use to train the network.
459
+
:::
458
460
459
461
::: solution
460
462
Discuss your answers with the group or the person next to you.
461
-
:::
462
463
::::
463
464
464
465
@@ -470,11 +471,11 @@ There are many software libraries available for deep learning including:
470
471
471
472
[TensorFlow](https://www.tensorflow.org/) was developed by Google and is one of the older deep learning libraries, ported across many languages since it was first released to the public in 2015. It is very versatile and capable of much more than deep learning but as a result it often takes a lot more lines of code to write deep learning operations in TensorFlow than in other libraries. It offers (almost) seamless integration with GPU accelerators and Google's own TPU (Tensor Processing Unit) chips that are built specially for machine learning.
472
473
473
-
### PyTorch
474
+
### PyTorch<!-- no-patch -->
474
475
475
476
[PyTorch](https://pytorch.org/) was developed by Facebook in 2016 and is a popular choice for deep learning applications. It was developed for Python from the start and feels a lot more "pythonic" than TensorFlow. Like TensorFlow it was designed to do more than just deep learning and offers some very low level interfaces. [PyTorch Lightning](https://www.pytorchlightning.ai/) offers a higher level interface to PyTorch to set up experiments. Like TensorFlow it is also very easy to integrate PyTorch with a GPU. In many benchmarks it outperforms the other libraries.
476
477
477
-
### Keras
478
+
### Keras<!-- no-patch -->
478
479
479
480
[Keras](https://keras.io/) is designed to be easy to use and usually requires fewer lines of code than other libraries. We have chosen it for this lesson for that reason. Keras can actually work on top of TensorFlow (and several other libraries), hiding away the complexities of TensorFlow while still allowing you to make use of their features.
480
481
@@ -484,10 +485,10 @@ Keras also benefits from a very good set of [online documentation](https://keras
484
485
485
486
### Installing Keras and other dependencies
486
487
487
-
Follow the [setup instructions](learners/setup.md#packages) to install Keras, Seaborn and scikit-learn.
488
+
Follow the [setup instructions](./setup.md#packages) to install Keras, Seaborn and scikit-learn.
488
489
489
490
## Testing Keras Installation
490
-
Keras is available as a module within TensorFlow, as described in the [setup instructions](learners/setup.md#packages).
491
+
Keras is available as a module within TensorFlow, as described in the [setup instructions](./setup.md#packages).
491
492
Let's therefore check whether you have a suitable version of TensorFlow installed.
492
493
Open up a new Jupyter notebook or interactive python console and run the following commands:
0 commit comments