Fit a line and explain its errors
Estimate a numerical outcome and inspect its errors before assuming a straight-line relationship is adequate.
- Starting information
Sepal length: 6 cm
- Relationship or operation
Illustrative line: 1 + 0.5 × 6
- Consequence
Predicted petal length: 4 cm
The intercept is the constant 1; the slope 0.5 is the change in prediction per extra centimetre of input. A fitted association does not prove cause.
Your learning goal
Interpret line coefficients and residuals, distinguish MSE from MAE, and explain why training fit and validation evidence have different roles.