liveBook · Manning

Population size

Population size is the number of individuals, entities, observations, or candidate solutions comprising a defined population.

How 2 Manning books explain it

Optimization Algorithms: AI techniques for design, planning, and control problems

Population size is the number of candidate solutions maintained in a population-based optimization algorithm.

How it is used
Sets the number of candidate solutions available for genetic-algorithm selection, crossover, and mutation.
How deep it goes
Explains fixed and adaptive sizing, including exploration-convergence trade-offs, but does not provide a universal sizing formula.
Examples
Uses a five-solution ticket-pricing population and a table pairing candidate values with binary encodings and objective scores.
What you can do after
Apply it by sizing or adapting a genetic-algorithm population to balance diversity, exploration, and convergence.

Read how Optimization Algorithms: AI techniques for design, planning, and control problems explains population size →

Evolutionary Deep Learning: Genetic algorithms and neural networks

Population size is the number of individuals simulated in each generation of an evolutionary algorithm.

How it is used
Uses population size to configure how many candidate solutions evolve during each genetic-algorithm generation.
How deep it goes
Defines the parameter, relates it to chromosome complexity and generations, and stops short of prescribing a universal value.
Examples
Exercises vary population size in genetic-algorithm and NEAT notebooks, including tests of very small populations and resulting speciation.
What you can do after
Practice tuning population size by rerunning evolutionary experiments and comparing effects on evolution, results, and speciation.

Read how Evolutionary Deep Learning: Genetic algorithms and neural networks explains population size →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.