Machine Learning, Data Science, Linear Regression, Gradient Descent, Numpy.
find hidden parameters Let’s represent the MSE (cost function) graphically. Image by Author Since we ignore which parameters minimize the cost function, m and q will be initialized at random. So at first we will be at any point in the cost function (see graph). Our goal is to update each time the