How to minimize the cost function of linear regression by gradient descentThe description of the problemThe codes for above problemThe corresponding results
The description of the problemNext, you will implement gradient descent in the file gradientDescent.m. The loop structure has been written for you, and you only need to supply the updates to within each iteration.As you program, make sure you unders