GithubHelp home page GithubHelp logo

yash2108 / hr-analytics Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 5.24 MB

This project aims at classifying the profiles of the candidates to determine their likeliness to switch jobs based on a candidates demographics and job profile.

Jupyter Notebook 100.00%
artificial-neural-networks data-analytics decision-tree-classifier k-nearest-neighbours lightgbm-classifier logistic-regression machine-learning naive-bayes-classifier random-forest-classifier xgboost-classifier

hr-analytics's Introduction

πŸ” HR Analytics – Likeliness of a Data Scientist to switch job

πŸ“ Description

This project aims at classifying the profiles of the candidates to determine their likeliness to switch jobs based on a candidates demographics and job profile.

We apply the following algorithms to make this classification:

  1. NaΓ―ve Bayes
  2. K-Nearest Neighbour
  3. Logistic Regression
  4. Decision Tree
  5. Random Forest
  6. XG Boost
  7. Light GBM
  8. Artificial Neural Network

πŸ“¦ Dataset

The dataset for this project is taken from Kaggle. Some details about the dataset:

  • 19K rows
  • 14 features
  • Binary targets (whether or not the candidate is willing to switch jobs)
More information about the dataset
- enrollee_id: Unique ID for candidate
- city: City code
- city_development_index : Development index of the city (scaled)
- gender: Gender of candidate
- relevent_experience: Relevant experience of candidate
- enrolled_university: Type of University course enrolled if any
- education_level: Education level of candidate
- major_discipline: Education major discipline of candidate
- experience: Candidate total experience in years
- company_size: No of employees in current employer's company
- company_type : Type of current employer
- lastnewjob: Difference in years between previous job and current job
- training_hours: training hours completed
- target: 
  - 0 – Not looking for job change
  - 1 – Looking for a job change (binary classification)

βš™οΈ Setup

  1. Download the code from Kaggle and put the aug_train.csv file in the data folder.
  2. Execute the preprocess.ipynb notebook.
  3. Execute the model_implementation.ipynb notebook.
  4. EDA has been performed in EDA.ipynb notebook.

πŸ“Š Results

Comparing the accuracy of the models we implemented:

accuracy comparison of models

Comparing the F1 Score of the models we implemented:

f1 score comparison of models

⚠️ Requirements

  • pandas==2.2.1
  • seaborn==0.13.2
  • scikit-learn==1.4.1.post1
  • xgboost==2.0.3
  • lightgbm==4.3.0
  • tensorflow==2.16.1
  • imblearn==0.0
  • matplotlib==3.8.3

hr-analytics's People

Contributors

yash2108 avatar

Stargazers

 avatar

Watchers

 avatar

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.