Machine Learning, Gradient Descent, Linear Regression, Python, Optimization.
Since delta_m and delta_b gives us only the direction, we need to multiply both of them with the learning rate(alpha) to specify the step size of each iteration. Next, we need to modify the current values of M and B such that the error is reduced. 6. We need to repeat steps 2 to 5 until we converge