Intro to ML: Evolutionary Algorithms

Quiz
•
Computers
•
University
•
Medium

Josiah Wang
Used 27+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If we have elitism in our evolutionary algorithm, which of the following is TRUE:
The next generation completely replaces the current generation
The fitness of the population’s best individual cannot decrease
We use a mix of the current and new generations, typically using 10% of the new generation
Answer explanation
Recall, Elitism is when a small fraction (usually 10%) of the previous population is kept for the next round, ensuring that best performance of an individual in the population cannot decrease. If the kids disappoint mum or dad can step in!
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following statements are true about Novelty Search:
Novelty Search requires a fitness function
Novelty Search requires a behavioural descriptor
The novelty archive stores all the encountered types of solutions
The novelty archive keeps only the best solution found.
Answer explanation
Check definitions in slides. Novelty is simply a search for new behaviours. Contrast this with Novelty Search with Local Competition (NSLC).
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements about Selection Operators is FALSE?
For each selection:
With the roulette wheel: an individual with twice the fitness of another individual is twice as likely to be selected
With a simple tournament: The individual with the most fitness will always be selected
With a simple tournament: The individual with the least fitness will never be selected
Answer explanation
Simple tournament selection operators choose random pairs of individuals and pick the best individual from this randomly selected group. The best performing individual maybe never get selected and you need to be at least the second worst in the population to hope to be the best in the randomly selected pair.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How can you deal with a fitness function that may take negative values in a roulette wheel selection operator:
It is not possible to use the roulette wheel in these cases
We can scale the fitness values between 0 and 1 and then use the roulette wheel as per usual
Use the roulette wheel as per usual
Answer explanation
A negative fitness, if naively inputed into a roulette wheel, could yield negative probabilities which does not make sense.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following would be the best fitness function for a robot trying to drive a car without crashing it:
The number of crashes while driving
Miles driven without crashes
Time spent in the car
Answer explanation
'Time spent in car' would allow for collapse, where the trivial solution of not moving anywhere would be favourable. And I hope you can realise that 'number of crashes per mile' is not something we want to maximise - remember we maximise the fitness function in the Evo setting!
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When using the cross-over operator, if one of the children is the same as one of the parents, then both of the parents must be identical
True
False
Answer explanation
consider these 2 parents with a cross over point at 'x'
parent 1: 0100x100001
parent 2: 0100x111010
Child 1: 0100111010
Child 2: 0100100001
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Without additional mechanisms in place, like diversity preservations, an EA can get stuck at local optimums like just like gradient descent.
True
False
Answer explanation
EAs do not explicitly favour diversity therefore populations often have similar characteristics. Even though noise can be injected through steps such as tournament selection, crossover and mutation, this might not be enough to push the population under the local maxima. It is important to note that while diversity schemes are aimed at overcoming local maxima, they too can get stuck!
8.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The cross-over operator is mandatory in Evolutionary Algorithms
True
False
Answer explanation
Check slides
9.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following statements are true about the concept of behavioural descriptor:
It is used to define different types of solutions
It is used to compute distances between solutions
It always includes the fitness function
It is never related to the fitness function
Answer explanation
e.g. Novelty search vs NLSC
Similar Resources on Wayground
14 questions
Data Science Quiz

Quiz
•
9th Grade - University
10 questions
NPBES Leereenheid 8

Quiz
•
University
10 questions
CIOT QA2

Quiz
•
University
10 questions
Data Science

Quiz
•
University
11 questions
IP Addressing

Quiz
•
University
14 questions
TCP/IP

Quiz
•
University
10 questions
Exploring the Internet of Things

Quiz
•
9th Grade - University
8 questions
CIA Triad

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University