机器学习笔记4---Gradient descent

来源:互联网 发布:linix mysql中文乱码 编辑:程序博客网 时间:2024/06/04 17:56

what is Gradient descent





and in octave ,you can use 


 theta = theta - alpha*(((X*theta-y)'*X)./m)';

and theta is a colume vector ,X is [x1 ,x2,x3...]  y is a colume vector




the intuiation




0 0
原创粉丝点击