Process Required In Calculating The Relative Error In Linear Regression

For my computer science project I am studying linear regression. There is the concept of calculating the relative errorĀ in that topic. Please help me understand how to calculate the error.

