6. Genetic Algorithms Flashcards
How is the Darwinian theory (the principle of the survival of the fittest) of evolution applied as a model for technical optimization procedures?
The take on optimization inspired by the Darwinian theory of evolution has been used as a model for technical optimization procedures. Here the environment is static though.
How does the evolution algorithm work?
An evolutionary algorithm starts by randomly generating a set of potential solutions, which are evaluated using a fitness function. The best solutions are selected and evolved over successive generations. This process repeats until a near-optimal solution is found and the fitness function stabilizes.
What is a population in the evolutionary algorithm?
A set of feasible solutions that may contain the best solution for a specific problem.
How does the technique that is used for Genetic A work?
This technique evolves a population by combining and modifying traits, similar to how offspring inherit genes from parents. The fittest individuals are chosen to create the next generation, gradually improving toward the goal.
What evolution algorithms do we know of?
Genetic Algorithms, Swarm Algorithms, Ant Colony algorithms
Hoes does the Swarm A work?
Simulate the movement of a group of animals (e.g., fish or birds) towards a specific target.
How does the Ant Colony A work?
These algorithms mimic how ants find the shortest path to food. As ants travel, they leave a chemical trail called a pheromone. Other ants follow stronger pheromone trails, reinforcing the path. This indirect communication, called “stigmergy,” helps them work together efficiently.
What is a common use care in feature selection?
The algorithm picks the best combination of features to improve a machine learning model’s performance.
GAs are commonly used in hyperparameter tuning. What is it?
A variable that influences a model’s behavior and output but is not adjusted by the training process. Examples of hyperparameters are the number of clusters in k-means, or limits on the depth of trees in decision tree learning. In particular, GA gained notable popularity in the optimization of structures and learning rules for artificial neural networks.
How are the individual properties represented?
By a piece of code that can be modified to yield new examples. (1000011, 1000101)
Is global optimalit achieved?
No. It’s a heuristic technique which can´t guarantee it. But the results are suficient for many purposes.
How do genetic changes happen?
Crossover and mutation of the genetic structure.
What are the five phases in GA?
- Creation of population 2. Evaluation of fittest function 3. Selection of fittest 4. Crossover 5. Mutation
What is the first phase about?
The individuals of the population are generated randomly in such a way that the corresponding chromosomes have a high coverage of the solution domain. The number of genes in individuals’ chromosomes is dependent on the problem.
What is the input and output in the fittest function?
Input –> the chromosone of the individual, Output –> fittest score of the individual