Perceptron
The perceptron is a model of a human Neuron.
Intuition It has multiple inputs . Each input will be multiplied by a weight . This lets the model control how relevant information from different inputs is.
Then all weighted inputs will be summed up and a bias value will be added on top (the bias is like the resting potential of a human neuron). And finally, an Activation Function (usually Sigmoid Function) determins whether the neuron triggers and sends the value to the output.
The perceptron is not recommended to be used in practice as it does not converge for nonlinear decision boundaries.
Training Loop
Also see Implementing a Simple Perceptron for Binary Classification - Marc’s Notes for some code.
A similar model is the so called Adaptive Linear Unit.
Learning Rule
where is the learning rate.