Share
Share
Copy Link
In this article
Close
A bias is the number a neuron adds after it multiplies by a weight.
Start with an input of 3. Set both weights to 1. Give each neuron a bias of 1.
| Neuron | Calculation | Result |
|---|---|---|
| Hidden | (3 × 1) + 1 | 4 |
| Output | (4 × 1) + 1 | 5 |
The network predicts 5. Its target is 6.
Exercise
Set both biases to zero. How much must the hidden neuron add to get a final prediction of 6?
The two weights and two biases are the four numbers the network can learn. They're called parameters. When training starts, both weights will be 1 and both biases will be 0.
QUOTE:
"Amateurs hack systems, professionals hack people."