Simple Linear Regression, Regression Cost Function, Cost Function, Machine Learning.
here. The reason we are squaring is because the technique of the cost function that we are using is a mean squared error. Are there different kinds of cost functions that exist? Yes, there are mean absolute error(MAE) and root mean square error(RMSE). the θ0 denotes the intercept and θ1 denotes the