AI engineering glossary · Linear algebra

What is matrix?

Matrix: A rectangular grid of numbers arranged in rows and columns. It can store a whole dataset (one row per example), a set of weights in a neural network layer, or represent a linear transformation that moves and reshapes vectors.

Level: beginnerTopic: Linear algebra

Matrix: an example

A dataset of 500 customers with 12 features is a 500 x 12 matrix; the weight matrix of a layer mapping 12 inputs to 4 outputs is 12 x 4.

Related terms

More Linear algebra terms

Where you learn it

Matrix 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.