Machine Learning, Gradient Descent, Linear Regression, Python, Optimization.
minimum value of a function? By finding its derivative. Right? The same thing applies here. We will obtain the partial derivative of J with respect to M and B. This will give us the direction of the slope of tangent at the given point. We would like to move in the opposite direction of the slope in