AI engineering glossary · Calculus optimisation

What is line search?

Line search: A step-size selection procedure that, once a search direction is fixed, tests candidate step lengths along it until the objective decreases enough. Exact and backtracking variants are common in classical optimisers such as BFGS.

Level: intermediateTopic: Calculus optimisation

Line search: an example

Try step 1.0; if the loss does not fall enough, try 0.5, then 0.25, until it does.

Related terms

More Calculus optimisation terms

Where you learn it

Line search 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.