Lecture
[[u|/tools/perceptron-drawing-recognition|perceptron online]]
The Rosenblatt perceptron — is a very simple model of an “artificial neuron” that can recognize simple things from examples.
Let me explain it “in plain terms”.
A perceptron — is like a very simple brain that:
Imagine you have inputs:
Each input is multiplied by its own “weight”:
Then everything is summed up:
sum = x₁·w₁ + x₂·w₂ + x₃·w₃
Then a simple rule applies:
Suppose the perceptron decides:
“Is this spam or not spam?”
Features:
The perceptron:
It computes the sum and says:
This is Rosenblatt's key idea:
This is called learning from examples
A regular perceptron can only solve linearly separable problems.
Simply put:
The Rosenblatt perceptron — is a model that sums weighted features and decides “yes/no”, learning from its mistakes.
The Rosenblatt perceptron works beautifully… until it runs into the XOR problem. There it literally “breaks”, because it cannot draw a single straight line to separate everything.
XOR (exclusive OR) gives:
| A | B | XOR |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
That is:
Imagine the points:
The perceptron tries to do this:
draw a single straight line to separate the classes
But the problem is:
They are “mixed crosswise”
The perceptron can only do:
linear separation (a single straight line)
But XOR requires:
nonlinear separation (for example, two lines or a curve)
A perceptron — is like a person who can only:
And XOR — is a problem where you need to either:
The perceptron “breaks” on XOR because:
the classes cannot be separated by a single straight line
a multilayer network (MLP) is needed
Comments