Genetic Algorithms › Advantages
Machine Learning from ScratchAll chapters Genetic Algorithms › AdvantagesSection view · Sections in this chapter2 / 10 ↓
Reading tools Definitions, links & notes
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
The evolutionary search here needs no derivatives. It scores complete candidates, making the framework applicable to a black-box objective when an encoding, valid variation operators, and a meaningful comparison rule are available. Candidates may be permutations as here, binary subsets, assignments, or real and integer vectors. Gradient Descent and Numerical Optimization used derivatives to construct local updates; our loop compares candidate costs directly. Noise still requires care because a low observed cost need not mean a low expected cost.
A population can retain candidates in several regions and offers several parents from which to build children. Recombination can combine structures from two candidates. In the deliberately selected worked example, parents of cost and produce a child of cost , shorter than either parent and equal to the enumerated minimum to the reported precision. This demonstrates one possible update; it does not estimate the probability of finding that child in a run or establish an advantage over local search.
The framework admits different encodings and operators. Constraints may be enforced by a feasible decoder, checked after variation, repaired, or included in a penalized comparison. Each approach needs validation. For a fixed deterministic objective, the elitist survival rule used here preserves the best retained cost, and an archive can return the best scored candidate when the allowed budget is exhausted.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!