Code Monkey home page Code Monkey logo

swarnima000 / intervie-tech-final-project-employee-attrition Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 727 KB

Analyzed employee attrition using Python and data science libraries. Explored factors such as job role, department, and demographics to understand patterns influencing attrition. Random Forest demonstrated superior performance with an accuracy rate of 94%.

Jupyter Notebook 100.00%
decision-tree-classifier employee-attrition machine-learning machine-learning-algorithms python random-forest random-forest-classifier

intervie-tech-final-project-employee-attrition's Introduction

  1. Setup:

    • Ensure Python is installed on your machine.
    • Install the required libraries (numpy, pandas, seaborn, matplotlib) using pip.
  2. Usage:

    • Clone the repository to your local machine.
    • Navigate to the project folder in the terminal.
    • Run the Python script (FINAL_TASK.py) to execute the code.
  3. Data Analysis:

    • The code performs Exploratory Data Analysis (EDA) on the employee attrition dataset.
    • It includes analysis of categorical columns with respect to the target column (Attrition).
    • It also analyzes continuous and discrete data with respect to the target column.
  4. Model Building:

    • Two machine learning models are built for predicting employee attrition: Decision Tree Classifier and Random Forest Classifier.
    • The SMOTE (Synthetic Minority Over-sampling Technique) is used to balance the target column (Attrition) to handle class imbalance.
    • The models are trained on the balanced dataset and evaluated using classification reports and F1 scores.
    • Random Forest demonstrated superior performance with an accuracy rate of 94%.

intervie-tech-final-project-employee-attrition's People

Contributors

swarnima000 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.