A short lecture note on linear regression, including the dual formulation.