Skip to content
KALANBLON
Show contents

Chapter 3 of 7 · 10 min

Quiz: learn from examples

Supervised learning, nearest neighbours, regression and gradient descent: let's check the basics. You need 70% correct answers, and every answer is explained.

Quiz

6 questions · pass mark: 70%

  1. 1.You want to predict a house's price in CFA francs from its area. What kind of problem is it?

    One answer

  2. 2.How does k-nearest neighbours classify a new point?

    One answer

  3. 3.A model gets 100% accuracy on its training data. What can you conclude?

    One answer

  4. 4.Which statements about gradient descent are true? (several answers)

    Several answers possible

  5. 5.A model's errors: +2, −2, +1, −1. What is the MAE?

    One answer

  6. 6.Complete the numpy call that fits a line (degree-1 polynomial) to the points x, y.

    Complete the code

    a, b = np._______(x, y, 1)

Your progress is saved on this device. Create a free account to keep your progress on all your devices.