Community Profile

photo

Tshering Lhamo


Last seen: mer än 3 år ago Active since 2020

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


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 ...

mer än 3 år ago | 1 answer | 0

1

answer