Skip to content

Prediction of salary based on the years of experience using Simple Linear Regression

Notifications You must be signed in to change notification settings

sudarshan-koirala/Salary-Prediciton-based-on-Years-of-Experience

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Salary-Prediciton-based-on-Years-of-Experience

Prediction of salary based on the years of experience using Simple Linear Regression

Problem

Suppose the HR department of your company wants you to make a model to predict the salary of new employees based on the data they have on the company. The .csv file illustrates the data needed to train and test the model.

Solution

Simple Linear Regression is being used to solve this problem. And it shows that the model predicts well to make future decisions for HR department to make the salary predictions based on the experience of the applicants.

The following graph shows the Salary vs Experience (Training Set). Salary vs Experience (Training Set)

The following graph shows the Salary vs Experience (Test Set). Salary vs Experience (Test set)

From the graph, it is clear that the model predicts the salary well enough with the provided years of experience.

About

Prediction of salary based on the years of experience using Simple Linear Regression

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages