Machine Learning, Data Science, Predictions, AI, Artificalintelligence.
is very similar to the formula for the Mean Absolute Error. The difference is in the expression (Y_i−\hat{Y_i})², in which we square the differences. Squaring the errors will guarantee that we do not have any negative values — so the lowest score we can get is 0 — and it also gives more weight to