Machine Learning, Data Science, Linear Regression, Gradient Descent, Numpy.
should update the parameters θ only after summing over all the n records, that is after having gone through all the records of the dataset. But since very often the dataset is huge we can only add up to a number k and immideately perform an update of the parameters, then continue updating with the