The Artificial Neuron
An artificial neuron is the fundamental building block of neural networks, loosely inspired by biological neurons in the brain.
How It Works
- Inputs: The neuron receives multiple input values (x₁, x₂, ... xₙ)
- Weights: Each input is multiplied by a learnable weight (w₁, w₂, ... wₙ)
- Sum: All weighted inputs are summed together, plus a bias term
- Activation: The sum is passed through an activation function to produce the output
Mathematical Representation
output = activation(w₁x₁ + w₂x₂ + ... + wₙxₙ + bias)
The Learning Process
The "learning" in neural networks happens by adjusting the weights and biases. When the network makes a wrong prediction, the weights are nudged in a direction that would have produced a better answer. This is done through a process called backpropagation.