AI engineering glossary · Classical ML algorithms

What is perceptron?

Perceptron: The oldest learning algorithm for a linear classifier: it multiplies inputs by weights, adds a bias and outputs class +1 or -1, then nudges the weights whenever it makes a mistake. It converges only if the classes are separable by a straight line.

Level: beginnerTopic: Classical ML algorithms

Perceptron: an example

On a mistake with input (2, 1) and label +1, add the input to the weights: w = w + 1 * (2, 1).

Related terms

More Classical ML algorithms terms

Where you learn it

Perceptron is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.