03 · 14
Weaker than it lookedOne lucky split: R² 0.906 from 40 rows
Across 1,000 random splits of the book's Advertising data, the same model scores between 0.75 and 0.96. Repeated cross-validation settles at 0.886.
Read the audit
Loading project…
I fitted a one-variable linear regression of sales on TV spend and drew the fitted line over the scatter plot.
Original tutorial by Aman Kharwal: Visualizing a Machine Learning Algorithm (opens in a new tab)
This notebook printed charts (1) but no number worth quoting.
The Advertising data from An Introduction to Statistical Learning (the book's version).
03 · 14
Weaker than it lookedAcross 1,000 random splits of the book's Advertising data, the same model scores between 0.75 and 0.96. Repeated cross-validation settles at 0.886.
Read the audit