In regression, we want to see how close our predicted numbers are to the real numbers.
Mean Squared Error (MSE) measures the average of the squares of the errors. It tells us how big the mistakes are, giving more weight to big errors.
Root Mean Squared Error (RMSE) is the square root of MSE. It shows error in the same units as the target, making it easier to understand.
R-squared (R²) tells us how much of the variation in the real data our model explains. It ranges from 0 to 1, where 1 means perfect prediction.
We use these metrics because they help us understand both the size of errors and how well the model fits the data.
