Cost Function, Gradient Descent.
training set. Section 3- gradient descent The way we’re going to minimize the cost function is using gradient descent. Here’s our cost function. And if we want to minimize it as a function of theta. Here’s our usual template for gradient descent. Where we repeatedly update each parameter by taking