Giter Site home page Giter Site logo

income_classification_project's Introduction

INCOME CLASSIFICATION PROJECT

Focus

Examination of 1994 Census Income data in an attempt to predict whether an individual's income will exceed $50,000.00 per annum based on a variety of factors such as education, age, marital status, relationship status and work classification. The big question, can we use machine learning to predict one's income. The inflation rate in the United States between 1994 and today has been 78.84%, which translates into a total increase of $78.84. This means that 100 dollars in 1994 is equivalent to 178.84 dollars in 2021. $89,420.00.

Dataset

This project utilized a Kaggledataset.

The raw data was downloaded as a single csv. The raw data revealed 32561 rows distributed throughout 15 columns. Columns consisted of the following data types:

Cleaning and Preparing the Data

The data was first cleand by dropping all rows with any missing information. Columns were then renamed.

The data was regrouped, categorized, labled for models toe be run on and most importanly, the removal of of random spaces before, after and between the values.

Machine Learning, Decision Trees, Linear Regression and Neural Networks

Libraries were imported.

Data was was read in and viewed. It was then divided into attributes and labels and the further divided in to training and test sets.




From the sklearn module we used the LinearRegression method to create a linear regression object.


The object was then fit, trained tested and plotted.

Hosted by:

Project By:

Project page: https://amerikonnor-incomeclassproject.herokuapp.com/

income_classification_project's People

Contributors

michfig avatar amerikonnor avatar ismahanadan avatar

Watchers

 avatar

Forkers

ismahanadan

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.