R-squared › Visualizing R-squared
Michael BrenndoerferApril 4, 20253 min read
Machine Learning from ScratchAll chapters Part 3 of 9Foundations
R-squared › Visualizing R-squaredOne section · Sections in this chapter5 / 12 ↓
Sections in this chapter12
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
A higher R-squared means the regression line fits the data points more closely. Below is a conceptual illustration:
Plot 1: High vs. Low R-squared
- Left: Data points closely follow the regression line (high R-squared)
- Right: Data points are widely scattered around the line (low R-squared)
Out[2]:
Visualization
