Lec7 - Genetic Algorithms Flashcards

1
Q

What is a genetic/evolutionary algorithm?

A

It is an optimisation algorithm for black-box functions where we have no access to the gradient.

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

State the 4 concepts from Darwin’s theory about the origin of species.

A
  • Every individual is different, even from the same species.
  • Resources are finite: not all individuals will survive (Fight for Survival)
  • Individuals with heritable traits better suited to the environment will survive (Natural Selection)
  • The survivors pass their heritable traits to their offsprings.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe the three main genetic operators which define genetic algorithms.

A
  • Selection Operator:
    Selects the solutions that will be reproduced
  • Cross-over Operator:
    Mixes the parents’ genotype
  • Mutation Operator:
    Type and frequency of the variations applied to the genotype after reproduction.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a Fitness Function?

A

The Fitness Function represents the problem we want to solve. Solving the problem means maximising the fitness. Each problem has a different fitness function.

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

What do the genotype and phenotype represent?

A

They represent the potential solutions to the problem

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

What is the role of the selection operator?

A

Its role is to select the parents for the next generation.

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

What is elitism in Evolutionary Algorithms?

A

Elitism:
Keeping in the new generation a fraction of the best individual found so far. We usually fix this fraction to 10%. This ensures that the fitness oft he best individual in the population strictly increases.

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

What is the role of the Cross-over operator?

A

Its role is to combine the traits of the parents.

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

What is the role of the Mutation Operator?

A

its role is to explore nearby solutions, by mutating a version of the parents based on some probability (eg. on binary strings we randomly generate a number between 0-1 for every bit of the genotype).

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