Machine Learning, Linear Regression, Linear Regression Python, Linear Regression Example, Regression Analysis.
plt.xticks(rotation=90) plt.show() Sales vs TV We can easily see that the regression line fits our data well. But how to measure if it is a good fit for prediction or not? After fitting a linear regression model, you need to determine how well the model fits the data In order to measure the