Glossary

What is Perceptron?

In Turkish: Algılayıcı (perceptron) · Topic: Models and training

The simplest neural network model for binary classification: it multiplies inputs by weights, adds them up, and compares the total to a threshold to pick one of two classes.

How does it work?

A perceptron gives each input a weight, computes the weighted sum, and outputs 1 if the sum passes the threshold and 0 if it does not. During training it looks at an example, and if the prediction is wrong it nudges the weights in the direction that reduces the error. When it gets an example right, it leaves the weights alone. If the data can be split by a single straight line, this process eventually finds a correct split. If not, as in the XOR problem, a single perceptron cannot find a solution.

Why does it matter?

The perceptron is the ancestor of today's large models. Its inability to solve nonlinear problems was one of the main reasons multilayer networks were developed. It is the natural starting point for understanding what a neural network is.

Example

A very simple spam filter that looks at a few numbers, such as an email's length and how often certain words appear, and then decides 'spam' or 'not spam' is an example of a perceptron.

FAQ

Is a perceptron the same as an artificial neuron?

They are very close. A perceptron is an artificial neuron with a threshold function, while modern artificial neurons usually use other activation functions.

Why can't a perceptron solve the XOR problem?

In XOR, the two classes cannot be separated by a single straight line, and a perceptron can only separate data with a straight line. Adding a hidden layer makes the problem solvable.

All terms