A simple flask web app to predict salaries of employees based on their years of experience.
Data source: https://www.kaggle.com/karthickveerakumar/salary-data-simple-linear-regression
Steps to run:
1. git clone https://github.com/omkarudawant/Salary-Prediction-Flask-API
2. pip install -r requirement.txt
3. cd Salary-Prediction-Flask-API/src
4. Open two seperate terminal windows
4. In terminal 1,
- python model.py
- python server.py
6. In terminal 2,
- python request.py years_of_experience