The Thermodynamic Costs of Simple Linear Regression