![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/19466424_1599564368850_DEF.jpg)
Tshering Lhamo
Followers: 0 Following: 0
Feeds
提问
why computeCost function shows incorrect dimension error in second call?
h = X * theta; sq_error = (h - y) .^ 2; J = 1/(2*m) * sum(sq_error); correcting the code with error message shows error in ...
4 years 前 | 1 个回答 | 0