Appendix A. Solutions to the exercises

Chapter 2: Types of machine learning

For the questions in this chapter, your answers don’t need to match mine. If you have different ideas for models used in these applications, they might be great! I encourage you to look them up in the literature, and if they don’t exist, try to implement them.

Exercise 2.1

For each of the following scenarios, state if it is an example of supervised or unsupervised learning. Explain your answers. In cases of ambiguity, pick one and explain why you picked it.

  1. A recommendation system on a social network that recommends potential friends to a user
  2. A system in a news site that divides the news into topics
  3. The Google autocomplete feature for sentences
  4. A recommendation ...

Get Grokking Machine Learning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.