Particle
A particle is an individual entity represented or managed as a unit within a physical or computational model.
Grokking AI Algorithms, Second Edition
A particle is a candidate solution in particle swarm optimization whose position represents values in the problem search space and whose movement is adjusted during search.
- How it is used
- Uses particles as cooperating candidate solutions for optimization across large or high-dimensional search spaces.
- How deep it goes
- Explains particle state, initialization, fitness evaluation, velocity updates and stopping, with a Python representation.
- Examples
- Traces aluminum and plastic coordinates and fitness scores in a drone optimization problem.
- What you can do after
- Build it from scratch using Python particle state, swarm initialization and fitness-update routines.
Read how Grokking AI Algorithms, Second Edition explains particle →
Evolutionary Deep Learning: Genetic algorithms and neural networks
A particle is a candidate agent in particle swarm optimization whose position and movement encode a possible solution.
- How it is used
- Uses particles as candidate solutions while applying particle swarm optimization to an equation-solving problem.
- How deep it goes
- Explains generation, fitness evaluation, personal and global bests, speed limits, and position updates through executable functions.
- Examples
- Uses cannon-shot velocity and angle, target distance, swarm scatter plots, and DEAP notebook listings.
- What you can do after
- Apply it via DEAP by generating, evaluating, updating, and inspecting candidate solutions in a swarm.
Read how Evolutionary Deep Learning: Genetic algorithms and neural networks explains particle →
What to know first
- fitnessFitness is a numerical score indicating how well a candidate solution performs relative to an optimization objective.
- loopA loop is a programming-language control-flow construct that repeatedly executes a block of instructions according to an iteration rule or continuation condition.
Related concepts
- particle swarm optimizationused by · Particle swarm optimization is a population-based optimization method in which candidate solutions adjust their positions using individual and collective search information.
- populationpart of · A population is a defined group or complete set of people, units, observations, or candidate solutions considered together in a particular context.
- best positionhas part · A best position is the position at which an optimization particle has achieved its best objective value so far.
- position vectorhas part · A position vector is a vector from an origin to a point, representing that point’s location through its components.
- swarmpart of · A swarm is a population of interacting agents or particles that collectively explores or performs a task through coordinated activity.
- velocityhas part · Velocity is a quantity or state representing movement or change through a space, often encoding its direction and magnitude.
Questions about particle
What is particle?
A particle is an individual entity represented or managed as a unit within a physical or computational model.
Which Manning books explain particle?
Grokking AI Algorithms, Second Edition and Evolutionary Deep Learning: Genetic algorithms and neural networks.
What should I know before learning particle?
Manning books that teach particle usually introduce fitness and loop first.
What is particle part of?
Particle is part of population. A population is a defined group or complete set of people, units, observations, or candidate solutions considered together in a particular context.
What are the parts of particle?
Particle includes best position, position vector and velocity.
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.

