Six original Cambridge-style questions on machine learning categories and regression, with worked solutions.
State what is meant by machine learning.
Explain the difference between supervised learning and unsupervised learning. Give an example application of each.
Describe how reinforcement learning is used to train a robot to walk.
A company records the years of experience and salary (in thousands) of four employees.
| Years, x | 2 | 4 | 6 | 8 |
|---|---|---|---|---|
| Salary, y | 30 | 34 | 41 | 47 |
Calculate the least squares regression line y = mx + c and use it to predict the salary for 10 years of experience.
For each situation, identify the most suitable category of machine learning: (a) a bank groups transactions to find unusual patterns that may be new types of fraud; (b) a hospital trains a system on X-rays that doctors have already marked as healthy or diseased; (c) a program learns to control the traffic lights at a junction by being scored on how short the queues are.
A teacher fits the line y = 4.1x + 47.7 to data on hours of revision (1 to 5 hours) and test score (out of 100). She uses it to predict the score of a student who revises for 40 hours. Comment on this use of the model.
Mark this once you have attempted all six and checked your working. It records a Practiced badge on the topic and adds a one-time bonus. Revealing the solutions alone does not count.