Batch Gradient Descent and Linear Regression

Photo by Daniel Frank on Unsplash

For this blog, I will break down the batch gradient descent and its application to linear regression. Gradient descent is an optimization technique in machine learning and batch means that all observations will be accounted for as a whole.

In short, I have some feature x(univariate) to determine a dependant variable y. A line can be drawn by the…