Linear Regression · Module 2

Model Hypothesis

The simplest useful model is a straight line: y = mx + b.

Hypothesis

We assume the relationship is roughly linear. Predictions come from one line controlled by slope and intercept.

predicted_score = m · hours + b

Diagram — Slope and intercept

hours (x) score b = intercept m = slope (rise/run)
Slope m+7 points / hour

Each extra study hour adds about 7 marks.

Intercept b20 marks

Predicted score when hours = 0.

Remember: Training means searching for m and b that make predictions close to real scores.