Intro to ML: The ML Revision Quiz

Quiz
•
Computers
•
University
•
Hard

Josiah Wang
Used 20+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If we predict every observation to be True, what will our model precision be?
100%
0%
The proportion of True values in the dataset
Not enough information
Answer explanation
Think of all the False Positives
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
James, Amelia, and George are participating in a machine learning competition. They have to choose an algorithm for their project. Select which of the following algorithms they should consider if they want to use eager learners:
K-nearest neighbours
Decision trees
Neural networks
Linear regression
Answer explanation
Recall that K-nn is a lazy learner. At training time the algorithm simply stores the training data - i.e. no calculations/training occurs. It is not until inference time when the algorithm checks the K nearest points to the unseen datapoint in question. All calculations occur at inference time, hence being called lazy rather than eager.
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following statements are True:
Performance on the validation set can be used to see if a model is overfitting to the training data
We cannot tell from the training performance alone if a model is overfitting or not
Underfitting implies better generalisation to other datasets
Answer explanation
Underfitting is when the model lacks the capacity to fit the underlying pattern/trend of the data. A model that underfits a training set will perform no better on unseen data.
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Scarlett is working on a machine learning project and she is worried about underfitting. Which of the following actions may cause underfitting in her model?
Reducing the max. depth of a decision tree
Increasing the value of K in K-nn
Adding more layers to a neural network
Increasing the size of the training data
Increasing the value of K in K-means
Answer explanation
Underfitting is caused when the model lacks the capacity to fit the underlying trend/pattern of the data.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
True or False:
If we use grid-search for testing different hyper-parameter values, we can use each of these results for finding the confidence interval of the model error.
True
False
Answer explanation
Confidence Intervals should be reported for the final model architecture. They are a prediction on how the final model will perform on unseen data. If this is calculated with a range of different models, this will clearly be an inaccurate prediction.
6.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following algorithms will change given different random seeds:
Neural networks
K-nearest neighbours (K = 1, with no ties)
Decision trees
K-means
Evolution Algorithms using simple tournament
Answer explanation
Think about which methods are deterministic.
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which statements below are True describing the differences between Gradient Descent, Stochastic Gradient Descent and Mini-batched Gradient Descent:
Gradient Descent is faster to compute than Stochastic Gradient Descent
Stochastic Gradient Descent is faster to compute than Mini-batched Gradient Descent
There is less noise in the gradients when using Mini-batched Gradient Descent compared to Stochastic Gradient Descent
Answer explanation
Gradient descent - gradients are calculated and a step is taken based on the whole training step. This is a computationally heavy computation, as apposed to calculating the gradients and updating the parameters based on one sample. Stochastic gradient descent results in a very noising learning signal as the gradient is sensitive to the variability of each individual datapoint. The learning signal can be smoothed out by sampling groups of datapoints in mini-batch gradient descent. Here the gradient is averaged over all datapoints.
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
KNN and Decision Tree

Quiz
•
University
10 questions
DL-LR-MATHS

Quiz
•
University
15 questions
Deep Learning for Computer Vision

Quiz
•
University
9 questions
Intro to ML: Evolutionary Algorithms

Quiz
•
University
15 questions
Quiz 2

Quiz
•
University
13 questions
SDS Recruitment Re-Quiz

Quiz
•
University
16 questions
2°A _AV2_R2 2TEC_FE_ 22_42_ CSS_ HTML Elements Concepts_QUIZIZZ

Quiz
•
11th Grade - University
15 questions
ML Chapter 05

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

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

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University