AI engineering glossary · Calculus optimisation

What is genetic algorithm?

Genetic algorithm: An evolution-inspired search that maintains a population of candidate solutions and repeatedly selects the fittest, combines them (crossover), and randomly alters them (mutation) to produce better generations. It needs no gradients.

Level: intermediateTopic: Calculus optimisation

Genetic algorithm: an example

To tune a delivery schedule, encode each schedule as a list, keep the 20 best of 100 each generation, and breed them.

Related terms

More Calculus optimisation terms

Where you learn it

Genetic algorithm 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.