Quiz 4

Quizzes are optional, but encouraged. They are a good way to test your conceptual understanding, before diving into the programming projects. Consider each question below, then reveal the answer. If you didn’t get it right, consider why you may have had that misunderstanding!

Question 1

Categorize the following: A social network’s AI uses existing tagged photos of people to identify when those people appear in new photos.

  • This is an example of supervised learning
  • This is an example of reinforcement learning
  • This is an example of unsupervised learning
  • This is not an example of machine learning
Click here for the answer to Question 1

This is an example of supervised learning

Question 2

Imagine a regression AI that makes the following predictions for the following 5 data points. What is the total L2 loss across all of these data points (i.e., the sum of all the individual L2 losses for each data point)?

  1. The true output is 2 and the AI predicted 4.
  2. The true output is 4 and the AI predicted 5.
  3. The true output is 4 and the AI predicted 3.
  4. The true output is 5 and the AI predicted 2.
  5. The true output is 6 and the AI predicted 5.
Click here for the answer to Question 2

16

Question 3

If Hypothesis 1 has a lower L1 loss and a lower L2 loss than Hypothesis 2 on a set of training data, why might Hypothesis 2 still be a preferable hypothesis?

  • Hypothesis 1 might be the result of regularization.
  • Hypothesis 1 might be the result of overfitting.
  • Hypothesis 1 might be the result of loss.
  • Hypothesis 1 might be the result of cross-validation.
  • Hypothesis 1 might be the result of regression.
Click here for the answer to Question 3

Hypothesis 1 might be the result of overfitting.

Question 4

In the ε-greedy approach to action selection in reinforcement learning, which of the following values of ε makes the approach identical to a purely greedy approach?

  • ε = 0
  • ε = 0.25
  • ε = 0.5
  • ε = 0.75
  • ε = 1
Click here for the answer to Question 4

ε = 0