Convergence Algorithm, Machine Learning, Gradient Descent, Global Minima, Multiple Linearregression.
of data points -------------Finding the Derivative----------------------- // Since you have θ0,θ1 your j value is 0 and 1 d J(θ0,θ1) /d(θj) = d 1/2m [i =1 -> m Σ (hθ(x)^i - y^i)^2] /d(θj) // As an example derivative of x^2 with respect to x is 2x // d x^2 / dx = 2x // When we find the derivative we