Genetic algorithm
(Redirected from Genetic algorithms)
Genetic Algorithm
A genetic algorithm (GA) is a search heuristic that is inspired by Charles Darwin's theory of natural evolution. This algorithm reflects the process of natural selection where the fittest individuals are selected for reproduction in order to produce offspring of the next generation. Genetic algorithms are commonly used to generate high-quality solutions for optimization and search problems by relying on bio-inspired operators such as mutation, crossover, and selection.
Overview[edit | edit source]
Genetic algorithms belong to the larger class of evolutionary algorithms (EA), which generate solutions to optimization problems using techniques inspired by natural evolution, such as inheritance, mutation, selection, and crossover.
Basic Concepts[edit | edit source]
- Population: A set of candidate solutions to the optimization problem.
- Chromosomes: A representation of a solution in the genetic algorithm. Typically, a chromosome is a string of binary numbers.
- Genes: Parts of a chromosome, analogous to biological genes.
- Fitness Function: A function that quantifies the optimality of a solution (chromosome) so that that particular solution may be ranked against all the other solutions.
- Selection: The process of choosing the fittest individuals from the population to be parents for the next generation.
- Crossover (Recombination): A genetic operator used to combine the genetic information of two parents to generate new offspring.
- Mutation: A genetic operator used to maintain genetic diversity within a population by randomly tweaking the genes of a chromosome.
Process[edit | edit source]
1. Initialization: Generate an initial population of chromosomes randomly. 2. Evaluation: Calculate the fitness of each chromosome in the population. 3. Selection: Select the fittest chromosomes for reproduction. 4. Crossover: Perform crossover on the selected chromosomes to form a new offspring. 5. Mutation: Apply mutation to the offspring. 6. Replacement: Replace the least fit population with the new offspring. 7. Termination: Repeat the process until a termination condition is met, such as a maximum number of generations or a satisfactory fitness level.
Applications[edit | edit source]
Genetic algorithms are used in various fields, including:
- Optimization: Solving complex optimization problems in engineering, economics, and logistics.
- Machine Learning: Feature selection, hyperparameter tuning, and evolving neural networks.
- Robotics: Path planning and control systems.
- Bioinformatics: Sequence alignment and protein structure prediction.
Advantages and Disadvantages[edit | edit source]
Advantages[edit | edit source]
- Robustness: GAs are robust and can handle noisy and complex search spaces.
- Parallelism: They can explore multiple solutions simultaneously.
- Flexibility: GAs can be applied to a wide range of problems.
Disadvantages[edit | edit source]
- Computational Cost: GAs can be computationally expensive due to the large number of evaluations required.
- Premature Convergence: They may converge prematurely to suboptimal solutions.
Also see[edit | edit source]
References[edit | edit source]
- Goldberg, D. E. (1989). "Genetic Algorithms in Search, Optimization, and Machine Learning." Addison-Wesley.
- Holland, J. H. (1975). "Adaptation in Natural and Artificial Systems." University of Michigan Press.
External links[edit | edit source]
- [Genetic Algorithms on Scholarpedia](http://www.scholarpedia.org/article/Genetic_algorithms)
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD