Machine Learning, Data Science, Linear Regression, Gradient Descent, Numpy.
and q. In more dimensions, so with more features, we should not find a line, but a hyperplane and m and q will be vectors with as many entries as the number of features. More formally, the distance of the points from the line to be minimized is measured by a function called mean squared error (MSE)