Perceptron
We'll cover the following...
Recall the classification of points problem in the previous lesson. How do we draw the line that separates the squares from the stars? This is where perceptron comes to the rescue.
What is a perceptron?
Perceptron is a binary linear classifier (binary) used in supervised learning to classify the given input data.
Visualize a perceptron
In case of two input features the perceptron model would look something like this:
Boundary
The boundary line that separates the two classes is:
Here,
- and are the inputs
- and are the weights
- is the bias
Prediction
= { 1 if ...
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy