Genetic Algorithms (implementation and Theoretical) Flashcards

1
Q

What are the methods of selection?

A

Tournament
Fitness proportionate
Roulette-wheel
Elitist selection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does Fitness proportionate method of selection work?

A

Calculate Total fitness
Assign Selection Probability (divide fitness score of each individual by the total fitness, represents the proportion of the roulette wheel each individual occupies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

High level code for GA

A

create initial population
calculate fitness of all individuals
while (end condition not met){
select fitter individuals for reproduction (ones with higher fitness)
recombine individuals
mutate individuals
evaluate fitness of all individuals
generate new population
}
return best individual

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does tournament selection work?

A

select 4 random individuals. The fittest = Parent 1, repeat for parent 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you recombine the individuals?

A

Select crossover point randomly between 0-size-1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do they mutate?

A

To each individual apply mutation operator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the GA Parameters

A

Populations Size
Selection Type
Crossover type/rate
Mutation type/rate
Stopping criteria (Number of generations, Number of runs, Convergence)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which part of the GA are low level heuristics?

A

Informed search

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly