What is the algorithm for implementing gradient descent for linear regression?
The algorithm for implementing gradient descent for linear regression |
- We can substitute our actual cost function and our actual hypothesis function.
- m is the size of the training set, theta 0 a constant that will be changing simultaneously with theta 1 and x, y are values of the given training set (data).