Giter Club home page Giter Club logo

employee-attrition's Introduction

Employee-Attrition

We are going to find major causes of attrition in employees. Attrition results in lack of productivity which results in lack of profit, which ultimately leads to unemployment. It seems simple to point out few factors behind attrition such as low wages, working environment,relationship with boss etc, but actually there are a lot more from one's personal reason to his education. And this is where Statistics come in. This field of concern is so wide that it has given birth to new ML research called "Interpretability".

In atrition.ipynb ,we have implemented Logistic Regression to our data and getting a response of about 87.3% with about 85% precision rate. The model shows enough of sensitivity but a lack of specificity.

To compensate for this, we chose RFE for taking only the relevant features and leaving out the rest.WeWe have applied logistic model to the data getting an accuracy of 87.30%. As it is clear from our model that we are getting low value of recall for true value of attrition ,i.e., we are not getting enough of the relevant information from the data. The retrieved model shows high senstivity but low specifity see a slight increase in accuracy of our model. We have trimmed our dataset to 40 features. Though we are reporting a decrease in precision of attried employees, we are getting a noticeable increase in recall and F-score.This ultimately results in increase of specificity of our model.This model also reduces our memory space and processing time as the operations to be performed are much less than former.

In attrition_LDA.ipynb, we have implemented Linear Discriminant Analysis to our data giving us a slight increase in accuracy of our model.LDA assumes data to be taken from multivariate Gaussian Distribution. It gives an accuracy of about 88.2%. When tested after applying RFE to this,it gives a accuracy of 88.66% with a nominal increase.We also tried Quadratic Disriminant Analysis but gets a setback with accracy of just 30%. Thus, it is no use to our data because of smaller dataset and larger variance.

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.