Chapter 2

Chapter 2: Machine Learning Models

Enthusiasm and Frustration: Linear Regression

Chapter 2 illustration

Exhausted and buried in trial-and-error, Ethan leans on Noah and AIA while Owen doubts the effort, and linear regression becomes Minermont’s first measurable win.

This chapter focuses on the core mechanics behind supervised learning with simple models: fitting a line, choosing a loss, and optimising parameters.

What Will You Learn?

Use the interactive activities below to build intuition by manipulating parameters and watching the error change.

Mathematical Foundations

Algorithm Pseudocode

Practical Implementation

Bibliography and Additional Resources

Apr 17, 2025