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
- neural network prediction calculation viz is work in progress. It's rendered now and has some interaction when you hover over weight and input nodes. Still need to show the calculations and results. Then to tackle mobile and clicking behaviour.
Copy file name to clipboardExpand all lines: _posts/2016-12-14-visual-interactive-guide-basics-neural-networks.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -580,7 +580,7 @@ If you have reached this far, I have to reveal to you another motivation of mine
580
580
581
581
I hope you would feel prepared and that you have an understanding of this system and how it works. If you want to start tinkering with code, feel free to pick up from the intro [tutorial](https://www.tensorflow.org/versions/r0.10/tutorials/mnist/beginners/index.html) and teach a neural network how to detect handwritten digits.
582
582
583
-
You should also continue your education by learning the theoretical and mathimatical underpinnings of the concepts we discussed here. Good questions to ask now include:
583
+
You should also continue your education by learning the theoretical and mathematical underpinnings of the concepts we discussed here. Good questions to ask now include:
584
584
585
585
* What other kinds of cost functions exist? Which are better for which applications?
586
586
* What's the algorithm to actually calculate new weights using gradient descent?
@@ -601,7 +601,7 @@ Thanks to [Yasmine Alfouzan](https://www.linkedin.com/in/yasmine-alfouzan-b05ba3
601
601
602
602
Please contact me on [Twitter](https://twitter.com/jalammar) with any corrections or feedback.
Copy file name to clipboardExpand all lines: _posts/2016-12-19-feedforward-neural-networks-visual-interactive.md
+17-3
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,18 @@ published: False
4
4
title: Feedforward Neural Networks - Part 2 of A Visual and Interactive Guide to Neural Networks
5
5
---
6
6
7
+
<!--more-->
8
+
7
9
In the [previous post]() we discussed some of the basics of neural networks:
10
+
8
11
* How the inputs flow through the network to calculate a prediction
9
12
* How we multiply the inputs by the respective weights and add the biases
10
13
* How we calculate Mean Square Error and how we use it as a measuring stick to gauge how accurate our model is
11
14
* We touched very lightly on Gradient Descent, an iterative algorithm that takes steps towards a better set of weights and biases
12
15
* We started with regression models and moved into classification models in the last example
13
16
14
17
15
-
There are a couple more concepts we need to touch upon if we're to build a better understanding of proper neural networks. So let's dive right in.
18
+
There are a couple more concepts we need to touch upon if we're to build a better understanding of proper neural networks. These will be network structure concepts that improve the behaviours of our networks and our prediction models.
16
19
17
20
## Feed it forward
18
21
Let's keep tweaking the example we started with. Your friend who wants to buy a house provided you with this list of house size & price and how appropriate for her she thinks the size and price are.
@@ -36,7 +39,18 @@ Let's keep tweaking the example we started with. Your friend who wants to buy a
36
39
37
40
</div>
38
41
39
-
When we trained a neural network to try to classify it, it got an error value of X
42
+
In [this notebook](), I trained a softmax regression neural network against this dataset. After the training, the network could correctly classify only 8 out of the 10 examples in the training set.
43
+
44
+
Take a look at how the trained network calculates the prediction for each example in the training set:
0 commit comments