Feeds
已回答
Problem while implementing "Gradient Descent Algorithm" in Matlab
temp1 = theta(1) - alpha*(sum(X*theta - y)/m); temp2 = theta(2) - alpha*(sum((X*theta - y).*X(:,2))/m); theta(1) = temp1; the...
Problem while implementing "Gradient Descent Algorithm" in Matlab
temp1 = theta(1) - alpha*(sum(X*theta - y)/m); temp2 = theta(2) - alpha*(sum((X*theta - y).*X(:,2))/m); theta(1) = temp1; the...
4 years 前 | 0
