Skip to content

Rahat-Khan-Pathan/salary-prediction-using-simple-linear-regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Predict Salary from Years of Experience using Simple Linear Regression

How to run this project

  1. Install requirements from requirements.txt
$ pip install -r requirements.txt
  1. Run train.py to train the model with 4900 data in salary.csv
$ python train.py
  1. Run test.py to train the model with last 100 data in salary.csv
$ python test.py
  1. Run main.py and choose the features to predict the probability.
$ python main.py

Figure of regression

R-Squared gained - 0.998 (Quite Good!)

See the Demo Video

Dataset Here

About

This model can predict salary from years of experience

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages