Giter VIP home page Giter VIP logo

census-income-project's Introduction

Census-Income-Project

Census Income Project using Classification Models - Logistic Regression, Decision Tree and Random Forest

Overview

This project focuses on exploring and predicting income information for over 48,000 individuals based on the 1994 US census data. The goal is to preprocess the data, perform exploratory data analysis (EDA), and build a predictive model to classify whether an individual makes over $50,000 a year or less using various machine learning algorithms.

Dataset

The dataset used in this project is sourced from the UCI Machine Learning Repository and contains information such as age, workclass, education, marital status, occupation, and more. For more details about the dataset, refer to Census Income Dataset.

Tools Used

NumPy Pandas Scikit-learn

Tasks

  1. Exploratory Data Analysis (EDA):
    • Investigate key insights in the data.
    • Understand the distribution of income categories.
  2. Data Cleaning:
    • Handle missing values.
    • Address outliers.
    • Convert categorical variables to numerical.
  3. Model Building:
    • Use machine learning algorithms (Logistic Regression, Decision Tree and Random Forest) to predict income categories.
    • Evaluate model performance.

Results

  • Logistic Regression Model Accuracy: 78.17%
  • Decision Tree Model Accuracy: 84.13%
  • Random Forest Model Accuracy: 84.51%

Conclusion

The Random Forest model outperforms other models in predicting income categories.

census-income-project's People

Contributors

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