O'Reilly logo

R Data Mining by Andrea Cirillo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Mean squared error

Let me jot down an example to help you visualize residuals:

Those bold blue lines are the residuals of our models. How do we compute an index that is able to summarize how our model performs overall? We could just sum up all our errors and obtain a comprehensive measure of our errors. But, what about underestimation and overestimation?

Let's take, for instance the following model:

As you can see, on the first and third point the model overestimates the actual value of y, while the model underestimates the actual value of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required