First time here? Checkout the FAQ!
x
+1 vote
2.8k views
asked in Machine Learning by (116k points)  
Assuming we have a linear regression equation and some data points (sample), how can we calculate residual error for each data point, and total cost based on the metrics such as MAE, MSE, RMSE, MAPE, or MPE if we have their formula?
  

1 Answer

0 votes
answered by (116k points)  
 
Best answer

You can take a look at this article which shows with an example linear regression equation. For example, the definition of MAE is given in the following figure:

...