CS229 Lecture Note(1): Linear Regression
1. LMS AlgorithmThe Ordinary Least Squares Regression Model: h(θ)=θTxh(\theta)=\theta^TxCost Function: J(θ)=12∑mi=1(hθ(xi)−yi)2J(\theta)=\frac{1}{2}\sum_{i=1}^m(h_\theta(x^i)-y^i)^2LMS (least mean s