Introduction to Perceptron
Explore the perceptron model, a foundational binary linear classifier used in supervised learning. Understand how it separates classes using weighted inputs and bias through a boundary line or plane. Learn how the step activation function is applied in prediction and how the perceptron operates as a single-layer feedforward network.
We'll cover the following...
What is a perceptron?
Perceptron is a binary linear classifier used in supervised learning to classify the given input data.
Visualize a perceptron
In the case of two input data points, the perceptron model makes a line that separates the two classes.
Boundary
The boundary line that separates the two classes are:
Here:
- and are the inputs
- and are the weights
- is the bias
Prediction
The predicted value on applying the step function is given by:
=
Quiz
A perceptron model draws a line between passed and failed students including the student mark on the two tests. Suppose the equation for the line is: ()
What is the score of the student who got 2 in question 1 and 3 in question 2?
18
23
In the case of three input data points, the perceptron model would separate the two classes using a plane:
Boundary
The plane separating the data points would be:
...