Simple Linear Regression

Predictive Linear Regression Analysis performed with years of experience of a person to predict his/her expected salary

  • Formed models on both statsmodels and sklearn
  • Tested the model on Train and Test Data.
lin reg
Model seems to be fitting well with both data.
  • Calculated R squared to track the accuracies.
lin r2
Achieved excellent R-squared values.