Giter Club home page Giter Club logo

salary-prediction-portfolio's Introduction

Salary Prediction Portfolio

Salary Prediction Project (Python)

Methods Used

  • Data Analysis and Visualization
  • Linear Regression
  • Polynomial Transformation
  • Ridge Regression
  • Random Forest

Technologies/Libraries Used

  • Python 3
  • Pandas
  • NumPy
  • Seaborn
  • Scikit-learn
  • Matplotlib
  • SciPy
  • Jupyter

Description

The purpose of this project is to use data transformation and machine learning to create a model that will predict a salary when given years of experience, job type, college degree, college major, industry, and miles from a metropolis.

Data

The data for this model is fairly simplified as it has very few missing pieces. The raw data consists of a training dataset with the features listed above and their corresponding salaries. Twenty percent of this training dataset was split into a test dataset with corresponding salaries.

There is also a testing dataset that does not have any salary information available and was used as a substitute for real-world data.

Information Used To Predict Salaries

  • Years Experience: How many years of experience
  • Job Type: The position held (CEO, CFO, CTO, Vice President, Manager, Janitor, and senior or junior position)
  • College Degree: Doctoral, Masters, Bachelors, High School, or None
  • College Major: Biology, Business, Chemistry, Computer Science, Engineering, Literature, Math, Physics, or None
  • Industry: Auto, Education, Finance, Health, Oil, Service, or Web
  • Miles From Metropolis: How many miles away from a major city

Summary

Applying second order polynomial transformation to the features used gave the most accurate predictions with the least error when using a linear regression model. The result was a mean squared error of 354 with a 76% accuracy rate.

This model can be used as a guide when determining salaries since it shows reasonable predictions when given information on years of experience, miles from metropolis, job type, industry, and college degree and major.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.