omkarudawant / Salary-Prediction-Flask-API

A simple Flask api to predict salaries based on years of experience of an employee

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Salary Prediction Flask API

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

About

A simple Flask api to predict salaries based on years of experience of an employee


Languages

Language:Python 100.0%