Applied Linear Statistical Models, Michael H. Kutner, Christopher J. Nachtsheim, John Neter, William Li, 2005 (McGraw-Hill Irwin) - A comprehensive textbook providing a deep statistical foundation for linear regression, including a detailed discussion of R-squared, its components, and its role in model assessment.
An Introduction to Statistical Learning: With Applications in R, Gareth James, Daniela Witten, Trevor Hastie, Robert Tibshirani, 2021 (Springer) - This widely used textbook provides an accessible introduction to statistical learning methods. It covers R-squared as a fundamental metric for evaluating regression model performance in a machine learning context.
sklearn.metrics.r2_score, scikit-learn developers, 2024 - Official documentation for the R-squared implementation in scikit-learn, a popular Python machine learning library. It explains the calculation and practical application of the metric.