Our model predicts which people have Covid-19. The model correctly predicts 100 people who have Covid-19, but it misses 50 people who have the illness and falsely predicts that 10 people have the illness when they don't. What is the precision of the model?
Intro to ML: Evaluation (Part 1)

Quiz
•
Computers
•
University
•
Medium

Josiah Wang
Used 15+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
91%
66%
Not enough information
Answer explanation
The precision of a model is calculated as the number of true positives (100 in this case) divided by the sum of true positives and false positives (100+10). This gives us 100/110 = 0.909, which is approximately 91%. Therefore, the correct answer is 91%.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A diagnostic test is used to identify individuals with a certain disease. The test correctly identifies 120 individuals with the disease, but fails to identify 30 individuals who actually have it, and incorrectly identifies 15 individuals as having the disease. What is the recall of the test?
80%
75%
Not enough information
Answer explanation
Recall is calculated as true positives divided by the sum of true positives and false negatives. Here, recall = 120 / (120 + 30) = 120 / 150 = 0.8 or 80%. Thus, the correct answer is 80%.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If we predict True for every observation, what will our model recall be?
Not enough information
0%
100%
Answer explanation
The recall of a model is calculated as the number of true positives divided by the sum of true positives and false negatives. If we predict True for every observation, there will be no false negatives, hence the recall will be 100%. This is because we are correctly identifying all positive cases, even though we may also be incorrectly identifying some negative cases as positive.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following do we use a test set for?
We use it to evaluate new features that we could add to our model
We use it for hyper-parameter tuning
We use it for held-out performance evaluation
None of the above
Answer explanation
The test set is used for held-out performance evaluation. This means it is used to assess the performance of a model on unseen data, providing an unbiased evaluation of the final model fit. It is not used for hyper-parameter tuning or evaluating new features for the model.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When is cross validation particularly helpful?
When we have a small dataset
When we have a large dataset
When we are particularly constrained on computational resources
Answer explanation
Cross validation is particularly helpful when we have a small dataset because it allows us to maximize the use of limited data for both training and validation. By dividing the dataset into multiple folds and iteratively training and validating on different subsets, we can obtain a more accurate estimate of the model's performance and reduce the risk of overfitting.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following does an F1 score depend on?
TP, FP, FN
TP, TN, FP, TN
TN, FP, TP
TP, FN
Answer explanation
The F1 score is a measure of a test's accuracy and it depends on True Positive (TP), False Positive (FP), and False Negative (FN). It is the harmonic mean of precision and recall, where precision is TP/(TP+FP) and recall is TP/(TP+FN). Therefore, the correct answer is 'TP, FP, FN'.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following could you use to evaluate performance on a regression task?
Precision
Recall
Accuracy
MSE
Answer explanation
MSE, or Mean Squared Error, is the correct choice for evaluating performance on a regression task. It measures the average of the squares of the errors—that is, the average squared difference between the estimated values and the actual value. Precision, Recall, and Accuracy are metrics used for classification tasks, not regression tasks.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Applying AI Techniques

Quiz
•
University
10 questions
AFP Midtvejsevaluering

Quiz
•
University
15 questions
Software Engineering

Quiz
•
University
7 questions
Six Pillars of Character

Quiz
•
KG - University
10 questions
Steps in Machine Learning

Quiz
•
University
8 questions
TP-Link Deco X95 網路知識小測驗!

Quiz
•
1st Grade - Professio...
15 questions
Knowledge Management

Quiz
•
University
15 questions
Lesson 3: Human Factors as HCI Theories

Quiz
•
University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade