machine learning第一周编程题答案
h=X*theta;theta(1)=theta(1)-alpha/m*sum((h-y).*X(:,1));theta(2)=theta(2)-alpha/m*sum((h-y).*X(:,2));
下载地址
用户评论