we can measure the accuracy of our hypothesis function by using a cost function
we can measure the accuracy of our hypothesis function by using a cost function
measures how bad the model is (people tend to use this for linear regression to measure the residuals between the models predictions and training examples)