Genetic Algorithms: Difference between revisions

From Computer Science Wiki
No edit summary
Line 14: Line 14:
# Until a good fit obtained
# Until a good fit obtained


== A video to get you started ==  
== Some videos ==  
 
<html>
<iframe width="560" height="315" src="https://www.youtube.com/embed/05rEefXlmhI" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</html>
 
<html>
<html>
<iframe width="560" height="315" src="https://www.youtube.com/embed/uQj5UNhCPuo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/uQj5UNhCPuo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Revision as of 10:34, 9 December 2021

Advanced programming[1]

In computer science and operations research, a genetic algorithm (GA) is a metaheuristic inspired by the process of natural selection that belongs to the larger class of evolutionary algorithms (EA). Genetic algorithms are commonly used to generate high-quality solutions to optimization and search problems by relying on biologically inspired operators such as mutation, crossover and selection[2]

  • Please first review the characteristics of algorithms.
  • Please then review the characteristics of heuristics.

The basic pattern of genetic algorithms

  1. A random set of solutions would be generated on the sample documents
  2. And tested against the human labelling
  3. Best fit solutions retained
  4. New generation created by mutating/crossing
  5. Algorithm repeated
  6. Until a good fit obtained

Some videos



Helpful resources


Terms associated with genetic algorithms

References