Skip to content

a model on an Adult Census Income dataset, and the goal is to predict whether income exceeds $50K/yr based on census data.

Notifications You must be signed in to change notification settings

redhecker/adultCensusIncome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adult Census Income Problem

Introduction

about the problem

A model on an Adult Census Income dataset, and the goal is to predict whether income exceeds $50K/yr based on census data.

structure of the repository

.
├─data
│   ├─testdata.csv
│   ├─traindata.csv
│   └─trainlabel.txt
├─src
│   ├─visualization.ipynb
│   ├─dataProcessing.ipynb
│   └─main.py
├─report.pdf
├─prediction.txt
├─requirements.txt
├─.gitignore
└─README

How to build

you need to follow the steps to build this repository:

first, clone the repository

git clone https://github.com/redhecker/adultCensusIncome.git
cd adultCensusIncome

then, create a new virtual environment and install the requirements

conda create -n test python==3.10
cd src
pip install -r requirements.txt

finally, you can run the main prrogram

python main.py

you can generate the answer with the model you like, and you can also run visualization.ipynb to see the distribution of the data and run dataProcessing.ipynb to see the performance of the models.

About

a model on an Adult Census Income dataset, and the goal is to predict whether income exceeds $50K/yr based on census data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published