technology logo
technology logo

Employee Attrition Analysis & Prediction using NLP

share link

by bhoyarpurvi dot icon Updated: Jun 15, 2022

Solution Kit Solution Kit  

DATASET - Kaggle Uploaded dataset TABLEAU - Statistical Representation of results EMPLOYEE ATTRITION PROBLEM ABSTRACT - Nowadays employee attrition is one of the key problem in the today's scenario. Attrition is said to be gradual reduction in number of employees through resignation, death and retirement. When a well-trained and well-adapted employee leaves the organization for any of the reason, it creates an empty space in an organization . It creates a great difficulty for a Human resource personnel to fill the gap that has occurred. This study helps in knowing why attrition occurs, reasons for employee attrition, challenges faced by managers in retaining employees and also suggest some measures in retaining employees. This Project is concerned with the problem of employee attrition in the industry. We have prepared dataset manually and analyzed the reviews of employees . Under this capstone Project we have built a comparison between service based and product based companies and their attrition rates and their causes. Our final result is prepared using Data Mining , Preprocessing, Feature Extraction , Natural Language Processing on reviews , Visualization of the abstracted data .Our analysis will also give a clear idea of what are the main reasons of attrition in real life . Our prediction model gives an output of whether the employee will leave the company or not depending upon the situations like work life balance , employee personal and professional information company type , etc. Lastly , we have used a visualization tool TABLEAU in order to perform data visualization to show the insights.

GITHUB REPOSITORY

Dataset sources - ambitionbox.com , indeed.com , glassdoor.com It contains more than 600 entries of different companies and employees and their resultant attrition type.

PREPROCESSING LIBRARIES

The basic libraries being used for preprocessing the dataset Pre-processing refers to the transformations applied to our data before feeding it to the algorithm. Data Preprocessing is a technique that is used to convert the raw data into a clean data set.

pandasby pandas-dev

Python doticonstar image 38552 doticonVersion:v2.0.2doticon
License: Permissive (BSD-3-Clause)

Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more

Support
    Quality
      Security
        License
          Reuse

            pandasby pandas-dev

            Python doticon star image 38552 doticonVersion:v2.0.2doticon License: Permissive (BSD-3-Clause)

            Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
            Support
              Quality
                Security
                  License
                    Reuse

                      numpyby numpy

                      Python doticonstar image 23663 doticonVersion:v1.25.0rc1doticon
                      License: Permissive (BSD-3-Clause)

                      The fundamental package for scientific computing with Python.

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                numpyby numpy

                                Python doticon star image 23663 doticonVersion:v1.25.0rc1doticon License: Permissive (BSD-3-Clause)

                                The fundamental package for scientific computing with Python.
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          seabornby mwaskom

                                          Python doticonstar image 10737 doticonVersion:v0.12.2doticon
                                          License: Permissive (BSD-3-Clause)

                                          Statistical data visualization in Python

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    seabornby mwaskom

                                                    Python doticon star image 10737 doticonVersion:v0.12.2doticon License: Permissive (BSD-3-Clause)

                                                    Statistical data visualization in Python
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              matplotlibby matplotlib

                                                              Python doticonstar image 17497 doticonVersion:v3.7.1doticon
                                                              no licences License: No License (null)

                                                              matplotlib: plotting with Python

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        matplotlibby matplotlib

                                                                        Python doticon star image 17497 doticonVersion:v3.7.1doticonno licences License: No License

                                                                        matplotlib: plotting with Python
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  ML library for model building

                                                                                  Includes regression and classification models under supervised learning

                                                                                  scikit-learnby scikit-learn

                                                                                  Python doticonstar image 54472 doticonVersion:1.2.2doticon
                                                                                  License: Permissive (BSD-3-Clause)

                                                                                  scikit-learn: machine learning in Python

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            scikit-learnby scikit-learn

                                                                                            Python doticon star image 54472 doticonVersion:1.2.2doticon License: Permissive (BSD-3-Clause)

                                                                                            scikit-learn: machine learning in Python
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      Kit Solution Source

                                                                                                      Jupyter Notebook doticonstar image 0 doticonVersion:Currentdoticon
                                                                                                      no licences License: No License (null)

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                Employee-Attrition-Analysis-Model-using-NLPby PurviBhoyar21

                                                                                                                Jupyter Notebook doticon star image 0 doticonVersion:Currentdoticonno licences License: No License

                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse

                                                                                                                          Natural language processing libraries

                                                                                                                          It provides a large number of algorithms to build machine learning models. It has excellent documentation that helps makes it easier to learn. Natural language processing helps computers communicate with humans in their own language and scales other language-related tasks.

                                                                                                                          nltkby nltk

                                                                                                                          Python doticonstar image 11972 doticonVersion:Currentdoticon
                                                                                                                          License: Permissive (Apache-2.0)

                                                                                                                          NLTK Source

                                                                                                                          Support
                                                                                                                            Quality
                                                                                                                              Security
                                                                                                                                License
                                                                                                                                  Reuse

                                                                                                                                    nltkby nltk

                                                                                                                                    Python doticon star image 11972 doticonVersion:Currentdoticon License: Permissive (Apache-2.0)

                                                                                                                                    NLTK Source
                                                                                                                                    Support
                                                                                                                                      Quality
                                                                                                                                        Security
                                                                                                                                          License
                                                                                                                                            Reuse

                                                                                                                                              TextBlobby sloria

                                                                                                                                              Python doticonstar image 8586 doticonVersion:0.7.0doticon
                                                                                                                                              License: Permissive (MIT)

                                                                                                                                              Simple, Pythonic, text processing--Sentiment analysis, part-of-speech tagging, noun phrase extraction, translation, and more.

                                                                                                                                              Support
                                                                                                                                                Quality
                                                                                                                                                  Security
                                                                                                                                                    License
                                                                                                                                                      Reuse

                                                                                                                                                        TextBlobby sloria

                                                                                                                                                        Python doticon star image 8586 doticonVersion:0.7.0doticon License: Permissive (MIT)

                                                                                                                                                        Simple, Pythonic, text processing--Sentiment analysis, part-of-speech tagging, noun phrase extraction, translation, and more.
                                                                                                                                                        Support
                                                                                                                                                          Quality
                                                                                                                                                            Security
                                                                                                                                                              License
                                                                                                                                                                Reuse

                                                                                                                                                                  Chatisticsby MasterScrat

                                                                                                                                                                  Python doticonstar image 893 doticonVersion:Currentdoticon
                                                                                                                                                                  License: Permissive (MIT)

                                                                                                                                                                  💬 Python scripts to parse Messenger, Hangouts, WhatsApp and Telegram chat logs into DataFrames.

                                                                                                                                                                  Support
                                                                                                                                                                    Quality
                                                                                                                                                                      Security
                                                                                                                                                                        License
                                                                                                                                                                          Reuse

                                                                                                                                                                            Chatisticsby MasterScrat

                                                                                                                                                                            Python doticon star image 893 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                                                                                                            💬 Python scripts to parse Messenger, Hangouts, WhatsApp and Telegram chat logs into DataFrames.
                                                                                                                                                                            Support
                                                                                                                                                                              Quality
                                                                                                                                                                                Security
                                                                                                                                                                                  License
                                                                                                                                                                                    Reuse

                                                                                                                                                                                      WORD FREQUENCY ANALYSIS LIBRARY

                                                                                                                                                                                      wordcloudby timdream

                                                                                                                                                                                      JavaScript doticonstar image 631 doticonVersion:Currentdoticon
                                                                                                                                                                                      License: Permissive (MIT)

                                                                                                                                                                                      HTML5 Word Cloud

                                                                                                                                                                                      Support
                                                                                                                                                                                        Quality
                                                                                                                                                                                          Security
                                                                                                                                                                                            License
                                                                                                                                                                                              Reuse

                                                                                                                                                                                                wordcloudby timdream

                                                                                                                                                                                                JavaScript doticon star image 631 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                                                                                                                                HTML5 Word Cloud
                                                                                                                                                                                                Support
                                                                                                                                                                                                  Quality
                                                                                                                                                                                                    Security
                                                                                                                                                                                                      License
                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                          Code access

                                                                                                                                                                                                          See similar Kits and Libraries