Week 1 2021
Week 1 2021
A. Classification
B. Regression
C. Clustering
D. None of the above
3) Suppose I have 10,000 emails in my mailbox out of which 300 are spams. The
spam detection system detects 150 mails as spams, out of which 50 are actually
spams. What is the precision and recall of my spam detection system ?
A. Precision = 33.33%, Recall = 16.66%
B. Precision = 25%, Recall = 33.33%
C. Precision = 33.33%, Recall = 75%
D. Precision = 75%, Recall = 33.33%
ANSWERS:
1. C
2. B
3. A
4. B
5. A
6. B
7. C
8. A
9. B
10. C
2.
B. Training error usually decreases and generalization error usually
decreases
As the amount of training data increases, the model has more examples to learn
from, which typically leads to a decrease in both training error and
generalization error. This means the model performs better on both the training
data and unseen data.
10.
C. To tune the hyperparameters of the machine learning model
Explanation: A validation dataset is used during the training phase of a machine
learning model to fine-tune the hyperparameters (like learning rate,
regularization strength, etc.). It helps to prevent overfitting and provides a way
to optimize the model before evaluating its performance on the test dataset.