Andrew Ng 机器学习笔记(一)
Week1_Gradient Descent 梯度下降
1. 梯度下降算法
将以下公式repeat until convergence
2、算法要点
- α的大小
On a side note, we should adjust our parameter α to ensure that the gradient descent algorithm converges in a reasonable time. Failure to converge or too much time to obtain the minimum value imply that our step size is wrong.
- Gradient Descent For Linear Regression
具体的公式如下: