Introduction
Perceptron is to learn a linear function .
Each corresponds to one hypothesis .
A prediction is correct if .
Goal of learning is to find a good such that makes few mis-predictions.
How to solve
Use stochastic gradient descent to solve the loss functions.
so we get the update rule: