Perceptron
- Perceptron is a linear classifier
- So it is used only when data are linearly separable
- Initially unit step activation function was used
- In short, it's a simple model of
where - prediction = 1 if y > 0
- otherwise, prediction = 0
Steps
- For d=2 dimensional data,
- W = (
) - (d+1) dimension - X = (
) - (d+1) dimension - Here
is always
- W = (
- Now calculation
- if
, then upper side - else, lower side
- if
- Update:
- For all incorrectly classified ones:
- d = 1, if it needs to be on upper side
- d = 0, if it needs to be on lower side