Machine Learning, Linear Regression, Linear Regression Python, Linear Regression Example, Regression Analysis.
indicates the percentage of the variance in the dependent variable that the independent variables explain collectively R Squared Formula Note: R-squared is always between 0 and 100% print("R2 Score is :",round(r2_score(y_test,y_pred),3)*100,"%") Output : 79.7 % We can interpret that our model