Linear Regression, Gradient Descent, Machine Learning, Data Science, Getting Started.
cost equation is: cost equation Where: This equation is therefore roughly “sum of squared errors” as it computes the sum of predicted value minus actual value squared. The 1/2mis to “average” the squared error over the number of data points so that the number of data points doesn’t affect the