Week1_Gradient Descent 梯度下降

1. 梯度下降算法

将以下公式repeat until convergence


       Andrew Ng 机器学习笔记(一) 

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.

Andrew Ng 机器学习笔记(一)
  • Gradient Descent For Linear Regression
      具体的公式如下:

  Andrew Ng 机器学习笔记(一)   Andrew Ng 机器学习笔记(一)






相关文章: