What if we get local maxima when we choose w, b in gradient descent algorithm

I think the algorithm fails if we guess w , b at local maxima

refer this link

For most simple regression systems, the cost function is known to be convex. So a local maximum is not possible.

1 Like