Machine Learning, Data Science, Mathematics, Artificial Intelligence, Deep Learning.
any line) and let the gradient descent algorithm march downhill on our error function towards the best line. Each iteration will update m and b to a line that yields slightly lower error than the previous iteration. The direction to move in for each iteration is calculated using the two partial