Salary Prediction Using Machine Learning
Salary Prediction Using Machine Learning
1. Degree: Doctoral, Bachelors, Masters, High School Figure -1: System architecture diagram
2. Major: Math, Literature, Engineering, Business, Step 3:
Physics, Chemistry 1. Visualize Linear regression results
3. YearsExperience:
4. Industry: Health, Service, Finance, Product, Web,
Education
Miles from Metropolis:
5. Salary:
The calculations that will be performed for working of this
proposed system to predict the salary with results:
Step 1: In step 1 we consider only Years’ Experience vs
Salary to create a base Model.
Here X is the independent variable which is the “years’
Experience”. And y is the dependent variable which is the
“Salary”.
Step 2:
1. Fit linear regression model to database Chart -1: Base model result
2. Firstly, building a simple Linear Regression model to 2. So, we see here that the line created by our model is
quite accurate.
see what prediction it makes. 3. The accuracy of our model is now around 96% to
3. We will be using the LinearRegression class from the 98%.
library sklearn.linear_model. We create an object of To create a basic training model, two variables will be assigned
the LinearRegression class and call the fit method for the model to use. Twenty percent of the training data will be
split into testing data that we can use to test the model with data
passing the X and y. for which the salaries are already known.
Step 5:
1. Create baseline Model
2. Baseline model is created on the dataset that contains
Figure -3: Polynomial transformation result
all features using Linear Regression
Where we will 80% data for training and 20% data to Here model updated using polynomial transformation.
check our model. Step 7: Predict the MSE and accuracy of new model
3. Mean squared error (MSE) will be evaluated now
along with accuracy to evaluate the baseline model's
performance.
IV CONCLUSIONS
In this paper we proposed a salary prediction system
by using a linear regression algorithm with second order
polynomial transformation. For the proper salary prediction, we
found out most relevant 5 features. The result of the system is
calculated by suitable algorithm by comparing it with another
algorithms in terms of standard scores and curves like the
classification accuracy, theF1score, the ROC curve, the
Precision-Recallcurve etc. We compared algorithms only for
the basic model which only two attributes. Moreover, we
continued with basic model and found out the most appropriate
method to add more attribute and with highest accuracy of
76%.
In future work, we would like add graphical user
interface to system and try to save and reuse trained model.
ACKNOWLEDGEMENT
We would like to express our sincere gratitude to several
individuals and organizations for supporting me throughout my
Project. First, I wish to express my sincere gratitude to my
supervisor, Professor D. M. Lothe, for his enthusiasm, patience,
insightful comments, helpful information, practical advice and
unceasing ideas that have helped us tremendously at all times in
our research. Without her support and guidance, this project
would not have been possible. I could not have imagined
having a better supervisor in our study.
REFERENCES
[1] Susmita Ray," A Quick Review of Machine Learning
Algorithms," 2019 International Conference on Machine
Learning, Big Data, Cloud and Parallel Computing (Com-
IT-Con), India, 14th -16th Feb 2019
[2] Sananda Dutta, Airiddha Halder, Kousik Dasgupta,”
Design of a novel Prediction Engine for predicting suitable
salary for a job” 2018 Fourth International Conference on
Research in Computational Intelligence and
Communication Networks (ICRCICN).
[3] Pornthep Khongchai, Pokpong Songmuang, “Improving
Students’ Motivation to Study using Salary Prediction
System” 2016 13th International Joint Conference on
Computer Science and Software Engineering (JCSSE)
[4] Phuwadol Viroonluecha, Thongchai Kaewkiriya,” Salary
Predictor System for Thailand Labour Workforce using
Deep Learning” The 18th International Symposium on
Communications and Information Technologies (ISCIT
2018)
[5] Mangui Wu, Shunmin Shu,” Top Management Salary,
Stock Ratio and Firm Performance: A Comparative Study
of State-owned and Private Listed Companies in China”