9618/33 May/June 2026 · Question 9(a) · 3 marks
Explain what is meant by regression methods in relation to machine learning.
Points that gain marks
- It is a supervised learning technique of machine learning.
- It finds a mathematical function, for example a best-fit line or curve; calculus is used to find the error gradient.
- The function maps how the causes (independent variables) affect an effect (the dependent variable), so it can forecast trends and predict outcomes.
- The goal is to make the difference between the predicted values and the actual values as small as possible.
In this lab: This lab is regression: the line is the function, hours of sunshine are the cause and ice-cream sales are the effect. The loss is the difference between predicted and actual sales, and gradient descent follows the error gradient downhill to make it as small as possible.