AI engineering glossary · Calculus optimisation

What is conjugate gradient method?

Conjugate gradient method: An iterative method that minimises quadratic functions, or solves symmetric positive definite linear systems, by choosing successive search directions that do not undo earlier progress. It needs no matrix storage or inversion and takes at most n steps for n variables in exact arithmetic.

Level: advancedTopic: Calculus optimisation

Conjugate gradient method: an example

To solve A x = b for a huge sparse matrix A, it uses only matrix-vector products with A, never forming the inverse.

Related terms

More Calculus optimisation terms

Where you learn it

Conjugate gradient method 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.