Intro to ML: Evolutionary Algorithms
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Josiah Wang
Used 30+ times
FREE Resource
Enhance your content in a minute
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!
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
Spreadsheet Starter
Quiz
•
7th Grade - University
10 questions
Adobe Photoshop
Quiz
•
University
10 questions
Choose the level of Bloom’s Taxonomy
Quiz
•
University
10 questions
Introduction to Mobile Commerce
Quiz
•
University
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
10 questions
Firewall & IDS
Quiz
•
University
10 questions
TPG Basics of web3 and programming
Quiz
•
University
10 questions
Client/Server Network Model
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
