Machine Learning, Gradient Descent, Linear Regression, Python, Optimization.
that we will use gradient descent to minimize the error for our model. But, now let us see exactly how gradient descent finds the best values of M and B for us. Gradient descent tries to minimize the error. Right? So, we can say that it tries to minimize the following function(cost function): At