Topics

Perceptron is a simple binary classification algorithm. The decision rule can be illustrated with an example:

Give a person, we want to predict whether to approve credit or not. The person has some features related to his/her transaction history, credit score etc, given by which is a d-dimensional feature vector. We have a weight vector and some threshold , using which we can define some decision rule as:

where implies approving credit for the person and implies rejection. Note that different choices of and yield different hypothesis which collectively form a hypothesis set.

Note

One can see that this is the same as weights and biases in neural net linear layers.

If we set and , we can simply the expression above as:

which is basically the sign of the dot product between and . Our goal would then be to find good values for such that we get good (or even perfect) classification. That’s where we need to come up with a learning algorithm.