What Is a Neural Network? Start With Input Data
In the first of 12 lessons, give a neural network three examples of how to double a number.
By Charles Joseph · Updated
Share
Share
Copy Link
In this article
Close
Unit 1 — Input data
A neural network needs examples to learn from.
Let's give our network an extremely simple task: learn to double a number.
Here is our training data:
| Input (x) | Desired output (y) |
|---|---|
| 1 | 2 |
| 2 | 4 |
| 3 | 6 |
There are only two things to understand right now:
- Input (x): The number we give the neural network.
- Target (y): The correct answer we want the neural network to produce.
We know the rule is to multiply by 2, but the neural network doesn't. It must discover the relationship through training.
Eventually, we will give it a number it has never seen before and see whether it has learned the rule.
Exercise
If we give the trained neural network the number 5:
- What is the input (x)?
- What is the desired output (y)?
We will move to Unit 2 once this is clear.