AI engineering glossary · Linear algebra

What is affine transformation?

Affine transformation (also called Affine map): A linear transformation followed by adding a fixed vector, so it can also shift points. A neural network layer computes one, W x + b, before applying its non-linear activation.

Level: intermediateTopic: Linear algebra

Affine transformation: an example

y = [[2,0],[0,3]] x + [1, 1] stretches the axes and then moves every point by [1, 1].

Related terms

More Linear algebra terms

Where you learn it

Affine transformation 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.