Giter VIP home page Giter VIP logo

incomepredict's Introduction

IncomePredict

CS5228 Final Project.

Predict whether the income exceeds 50K.

Preprocessing

  1. Age: divided into 17-20, 21-30, 31-40, 41-50, 51-60, 61-70, 71-80, 81-90, encoded with simple continuous number 1-8.
  2. Work class: divided into four part: private, government, self, other. One-hot encoding.
  3. Fnlwgt: abandon
  4. Education: abandon, because it’s related to education_num.
  5. Education num: use directly.
  6. Marital status: divided into five class: married, never-married, divorced, separated, widowed. One-hot encoding.
  7. Occupation: Tech-support, Craft-repair, Other-service, Sales, Exec-managerial, Prof-specialty, Handlers-cleaners, Machine-op-inspct, Adm-clerical, Farming-fishing, Transport-moving, Priv-house-serv, Protective-serv, Armed-Forces. One-hot encoding.
  8. Relationship: simply divided into 6 class and one-hot encoding.
  9. Sex: simply label encoding into 1 and 2.
  10. Capital-gain: Normalize.
  11. Capital-loss: Normalize.
  12. Hours-per-week: divided into 3 parts: x<35, 35<=x<=45 and x>45. Label encoding.
  13. Native country:abandon, due to 90% are American.

Model

  1. AdaBoost
  2. Linear Regression
  3. Decision Tree
  4. SVC
  5. MLP
  6. Bagging with KNN base model
  7. Random Forest

incomepredict's People

Contributors

0xnefelibata 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.