CHAPTER 09 / 40
Linear Regression
3 lessons · Explore, experiment and understand.
Let’s figure it out.
Ask me about this course or where to start.
Linear regression is the simplest model where every previous chapter — linear algebra, calculus, probability, optimization — shows up in one closed-form equation.
- OLS
- ridge
- Bayesian linear regression
- Step 45~20m2Code · 15⚡Challenge
Linear Regression: Problem Formulation
Linear regression is the first and most important supervised learning algorithm. The model asserts that the target is a linear function of f…
Open lesson - Step 46~20m3D · 12Code · 15★Most cinematic⚡Challenge
Bayesian Linear Regression
Bayesian linear regression treats the weights as a random variable rather than an unknown constant. We start with a prior , observe data, an…
Open lesson - Step 47~20m3D · 11Code · 15⚡Challenge
Maximum Likelihood as Orthogonal Projection
Every algebraic formula has a geometric story. For linear regression, the story is strikingly elegant: least squares is orthogonal projectio…
Open lesson