Data Science, Data, Machine Learning, Artificial Intelligence, Coding.
The cost function is thus given as : Now the cost is ready to be plotted into a convex graph thereby assuring the convergence for gradient descent which is found as : “Conjugate gradient”, “BFGS”, and “L-BFGS” are more sophisticated, faster ways to optimize θ that can be used instead of gradient