Interactive Neural Networks

This interactive article introduces neural networks in a way that’s intuitive to understand, whether you’re a curious mind new to the topic, or have used machine learning models but never fully grasped what’s going on under the hood.


It will first dive into the reasoning behind neural network training processes. Through a series of thought-provoking questions, it will break down complex concepts into simple analogies, and answer why certain steps are necessary and what purpose they serve.


Then it will open up the black box and show you what is exactly happening inside neural networks. You will get hands-on with interactive components, which operates on a real neural network and allows you to adjust parameters, see real-time results, and deepen your understanding as you explore. Instead of feeling “disconnected” from the learning process of neural networks, I want to give greater control and freedom to explore for every audience.


If you are interested… No previous knowledge of machine learning is needed—just start exploring with an open mind and a bit of curiosity!


This is a Q&A based and interactive learning journey. Click on questions and play with interactive components to explore!
Q: What are machine learning and neural networks?
Q: Why do we need machine learning?
Q: What are artificial neural networks?
Q: What tasks does a neural network perform?
Q: How does a single node predict?

Let’s adjust the weights to see how they affect the final result.


×0.39
×-0.11
×0.06
−1.0−0.50.00.51.0−1.0−0.50.00.51.0SizeColor
Selected Dog

Size: 0.8

Color: -0.9

Label: Samoyed (1)

Size0.8
Color-0.9
1
−3−2−10123−11
Prediction0.41-1
Loss0.2

1. Click on different data points.

2. The features and labels will be fed into our Neural Network.

3. Compare the prediction and the label (right answer).

Is the prediction good?

4. Now try to hit the Step Button multiple times, has the result improved for current data point?

How about other data points?

Full interactive Neural Network

Instruction for current version: Click "Step" multiple times to train the network. After several training, the Loss value will be reduced significantly.

Size0.8
Size-0.9
1
1
L0N0
L0N1
1
L1N0
L1N1
L1N2
1
L2N0
L2N1
L3N0