- Fit a line to the data set using least squares approach.
- Calculate R^2
- Calculate p-value for the R^2
Calculating R^2
- Using the best-file line chosen using the least squares approach, we use test data to verify how good estimate the line provides.
Evaluation Metrics #
- Mean Square Error
- Mean Absolute Error
- Root Mean Squared Error