AI engineering glossary · Statistics inference

What is r-squared?

R-squared (also called Coefficient of determination): The proportion of variation in the outcome that a regression model accounts for, between 0 and 1, computed as 1 - (residual sum of squares / total sum of squares). It never falls when predictors are added, even useless ones.

Level: beginnerTopic: Statistics inference

R-squared: an example

An R-squared of 0.72 means the model accounts for 72 percent of the variation in house prices in the data.

Related terms

More Statistics inference terms

Where you learn it

R-squared is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.