The X and Y coordinates are set as activation values for the input layer.
How does a neuron calculate its output?
1. The neuron looks at the activation of all connected neurons from previous layers.
Which are the X and
Y position of the white test point inside the plot - Click the plot to set new XY-coordinates.
Each value is multiplied by its weight
\(W_1\) or
\(W_2\).
The weights control how strongly each input affects the result.
Finally, the bias is added.
2. An activation function converts this result into a number between 0 and 1.
3. This number is the neuron's prediction. A value close to 0 means red, while a value close to 1 means blue.