age
int64
17
90
workclass
stringclasses
9 values
fnlwgt
int64
12.3k
1.48M
education
stringclasses
16 values
education.num
int64
1
16
marital.status
stringclasses
7 values
occupation
stringclasses
15 values
relationship
stringclasses
6 values
race
stringclasses
5 values
sex
stringclasses
2 values
capital.gain
int64
0
100k
capital.loss
int64
0
4.36k
hours.per.week
int64
1
99
native.country
stringclasses
42 values
age_group
stringclasses
3 values
capital_gain_loss_ratio
float64
0
10B
income
stringclasses
2 values
90
?
77,053
HS-grad
9
Widowed
?
Not-in-family
White
Female
0
4,356
40
United-States
Senior
0
<=50K
82
Private
132,870
HS-grad
9
Widowed
Exec-managerial
Not-in-family
White
Female
0
4,356
18
United-States
Senior
0
<=50K
66
?
186,061
Some-college
10
Widowed
?
Unmarried
Black
Female
0
4,356
40
United-States
Senior
0
<=50K
54
Private
140,359
7th-8th
4
Divorced
Machine-op-inspct
Unmarried
White
Female
0
3,900
40
United-States
Middle-aged
0
<=50K
41
Private
264,663
Some-college
10
Separated
Prof-specialty
Own-child
White
Female
0
3,900
40
United-States
Middle-aged
0
<=50K
34
Private
216,864
HS-grad
9
Divorced
Other-service
Unmarried
White
Female
0
3,770
45
United-States
Middle-aged
0
<=50K
38
Private
150,601
10th
6
Separated
Adm-clerical
Unmarried
White
Male
0
3,770
40
United-States
Middle-aged
0
<=50K
74
State-gov
88,638
Doctorate
16
Never-married
Prof-specialty
Other-relative
White
Female
0
3,683
20
United-States
Senior
0
>50K
68
Federal-gov
422,013
HS-grad
9
Divorced
Prof-specialty
Not-in-family
White
Female
0
3,683
40
United-States
Senior
0
<=50K
41
Private
70,037
Some-college
10
Never-married
Craft-repair
Unmarried
White
Male
0
3,004
60
?
Middle-aged
0
>50K
45
Private
172,274
Doctorate
16
Divorced
Prof-specialty
Unmarried
Black
Female
0
3,004
35
United-States
Middle-aged
0
>50K
38
Self-emp-not-inc
164,526
Prof-school
15
Never-married
Prof-specialty
Not-in-family
White
Male
0
2,824
45
United-States
Middle-aged
0
>50K
52
Private
129,177
Bachelors
13
Widowed
Other-service
Not-in-family
White
Female
0
2,824
20
United-States
Middle-aged
0
>50K
32
Private
136,204
Masters
14
Separated
Exec-managerial
Not-in-family
White
Male
0
2,824
55
United-States
Middle-aged
0
>50K
51
?
172,175
Doctorate
16
Never-married
?
Not-in-family
White
Male
0
2,824
40
United-States
Middle-aged
0
>50K
46
Private
45,363
Prof-school
15
Divorced
Prof-specialty
Not-in-family
White
Male
0
2,824
40
United-States
Middle-aged
0
>50K
45
Private
172,822
11th
7
Divorced
Transport-moving
Not-in-family
White
Male
0
2,824
76
United-States
Middle-aged
0
>50K
57
Private
317,847
Masters
14
Divorced
Exec-managerial
Not-in-family
White
Male
0
2,824
50
United-States
Middle-aged
0
>50K
22
Private
119,592
Assoc-acdm
12
Never-married
Handlers-cleaners
Not-in-family
Black
Male
0
2,824
40
?
Young
0
>50K
34
Private
203,034
Bachelors
13
Separated
Sales
Not-in-family
White
Male
0
2,824
50
United-States
Middle-aged
0
>50K
37
Private
188,774
Bachelors
13
Never-married
Exec-managerial
Not-in-family
White
Male
0
2,824
40
United-States
Middle-aged
0
>50K
29
Private
77,009
11th
7
Separated
Sales
Not-in-family
White
Female
0
2,754
42
United-States
Young
0
<=50K
61
Private
29,059
HS-grad
9
Divorced
Sales
Unmarried
White
Female
0
2,754
25
United-States
Senior
0
<=50K
51
Private
153,870
Some-college
10
Married-civ-spouse
Transport-moving
Husband
White
Male
0
2,603
40
United-States
Middle-aged
0
<=50K
61
?
135,285
HS-grad
9
Married-civ-spouse
?
Husband
White
Male
0
2,603
32
United-States
Senior
0
<=50K
21
Private
34,310
Assoc-voc
11
Married-civ-spouse
Craft-repair
Husband
White
Male
0
2,603
40
United-States
Young
0
<=50K
33
Private
228,696
1st-4th
2
Married-civ-spouse
Craft-repair
Not-in-family
White
Male
0
2,603
32
Mexico
Middle-aged
0
<=50K
49
Private
122,066
5th-6th
3
Married-civ-spouse
Other-service
Husband
White
Male
0
2,603
40
Greece
Middle-aged
0
<=50K
37
Self-emp-inc
107,164
10th
6
Never-married
Transport-moving
Not-in-family
White
Male
0
2,559
50
United-States
Middle-aged
0
>50K
38
Private
175,360
10th
6
Never-married
Prof-specialty
Not-in-family
White
Male
0
2,559
90
United-States
Middle-aged
0
>50K
23
Private
44,064
Some-college
10
Separated
Other-service
Not-in-family
White
Male
0
2,559
40
United-States
Young
0
>50K
59
Self-emp-inc
107,287
10th
6
Widowed
Exec-managerial
Unmarried
White
Female
0
2,559
50
United-States
Middle-aged
0
>50K
52
Private
198,863
Prof-school
15
Divorced
Exec-managerial
Not-in-family
White
Male
0
2,559
60
United-States
Middle-aged
0
>50K
51
Private
123,011
Bachelors
13
Divorced
Exec-managerial
Not-in-family
White
Male
0
2,559
50
United-States
Middle-aged
0
>50K
60
Self-emp-not-inc
205,246
HS-grad
9
Never-married
Exec-managerial
Not-in-family
Black
Male
0
2,559
50
United-States
Senior
0
>50K
63
Federal-gov
39,181
Doctorate
16
Divorced
Exec-managerial
Not-in-family
White
Female
0
2,559
60
United-States
Senior
0
>50K
53
Private
149,650
HS-grad
9
Never-married
Sales
Not-in-family
White
Male
0
2,559
48
United-States
Middle-aged
0
>50K
51
Private
197,163
Prof-school
15
Never-married
Prof-specialty
Not-in-family
White
Female
0
2,559
50
United-States
Middle-aged
0
>50K
37
Self-emp-not-inc
137,527
Doctorate
16
Never-married
Prof-specialty
Not-in-family
White
Female
0
2,559
60
United-States
Middle-aged
0
>50K
54
Private
161,691
Masters
14
Divorced
Prof-specialty
Not-in-family
White
Female
0
2,559
40
United-States
Middle-aged
0
>50K
44
Private
326,232
Bachelors
13
Divorced
Exec-managerial
Unmarried
White
Male
0
2,547
50
United-States
Middle-aged
0
>50K
43
Private
115,806
Masters
14
Divorced
Exec-managerial
Unmarried
White
Female
0
2,547
40
United-States
Middle-aged
0
>50K
51
Private
115,066
Some-college
10
Divorced
Adm-clerical
Unmarried
White
Female
0
2,547
40
United-States
Middle-aged
0
>50K
43
Private
289,669
Masters
14
Divorced
Prof-specialty
Unmarried
White
Female
0
2,547
40
United-States
Middle-aged
0
>50K
71
?
100,820
HS-grad
9
Married-civ-spouse
?
Husband
White
Male
0
2,489
15
United-States
Senior
0
<=50K
48
Private
121,253
Bachelors
13
Married-spouse-absent
Sales
Unmarried
White
Female
0
2,472
70
United-States
Middle-aged
0
>50K
71
Private
110,380
HS-grad
9
Married-civ-spouse
Sales
Husband
White
Male
0
2,467
52
United-States
Senior
0
<=50K
73
Self-emp-not-inc
233,882
HS-grad
9
Married-civ-spouse
Farming-fishing
Husband
Asian-Pac-Islander
Male
0
2,457
40
Vietnam
Senior
0
<=50K
68
?
192,052
Some-college
10
Married-civ-spouse
?
Wife
White
Female
0
2,457
40
United-States
Senior
0
<=50K
67
?
174,995
Some-college
10
Married-civ-spouse
?
Husband
White
Male
0
2,457
40
United-States
Senior
0
<=50K
40
Self-emp-not-inc
335,549
Prof-school
15
Never-married
Prof-specialty
Not-in-family
White
Male
0
2,444
45
United-States
Middle-aged
0
>50K
50
Private
237,729
HS-grad
9
Widowed
Sales
Not-in-family
White
Female
0
2,444
72
United-States
Middle-aged
0
>50K
51
State-gov
68,898
Assoc-voc
11
Divorced
Tech-support
Not-in-family
White
Male
0
2,444
39
United-States
Middle-aged
0
>50K
42
Private
107,276
Some-college
10
Never-married
Exec-managerial
Not-in-family
White
Female
0
2,444
40
United-States
Middle-aged
0
>50K
39
Private
141,584
Masters
14
Never-married
Sales
Not-in-family
White
Male
0
2,444
45
United-States
Middle-aged
0
>50K
32
Private
207,668
Bachelors
13
Never-married
Exec-managerial
Other-relative
White
Male
0
2,444
50
United-States
Middle-aged
0
>50K
53
Private
313,243
Some-college
10
Separated
Craft-repair
Not-in-family
White
Male
0
2,444
45
United-States
Middle-aged
0
>50K
40
Local-gov
147,372
Some-college
10
Never-married
Protective-serv
Not-in-family
White
Male
0
2,444
40
United-States
Middle-aged
0
>50K
38
Private
237,608
Bachelors
13
Never-married
Sales
Not-in-family
White
Female
0
2,444
45
United-States
Middle-aged
0
>50K
33
Private
194,901
Assoc-voc
11
Separated
Craft-repair
Not-in-family
White
Male
0
2,444
42
United-States
Middle-aged
0
>50K
43
Private
155,106
Assoc-acdm
12
Divorced
Craft-repair
Not-in-family
White
Male
0
2,444
70
United-States
Middle-aged
0
>50K
50
Self-emp-inc
121,441
11th
7
Never-married
Exec-managerial
Other-relative
White
Male
0
2,444
40
United-States
Middle-aged
0
>50K
44
Private
162,028
Some-college
10
Married-civ-spouse
Adm-clerical
Wife
White
Female
0
2,415
6
United-States
Middle-aged
0
>50K
51
Self-emp-not-inc
160,724
Bachelors
13
Married-civ-spouse
Sales
Husband
Asian-Pac-Islander
Male
0
2,415
40
China
Middle-aged
0
>50K
41
Private
132,222
Prof-school
15
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
2,415
40
United-States
Middle-aged
0
>50K
60
Self-emp-inc
226,355
Assoc-voc
11
Married-civ-spouse
Machine-op-inspct
Husband
White
Male
0
2,415
70
?
Senior
0
>50K
37
Private
329,980
Masters
14
Married-civ-spouse
Exec-managerial
Husband
White
Male
0
2,415
60
United-States
Middle-aged
0
>50K
55
Self-emp-inc
124,137
Prof-school
15
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
2,415
35
Greece
Middle-aged
0
>50K
39
Self-emp-inc
329,980
Bachelors
13
Married-civ-spouse
Sales
Husband
White
Male
0
2,415
60
United-States
Middle-aged
0
>50K
42
Self-emp-inc
187,702
Prof-school
15
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
2,415
60
United-States
Middle-aged
0
>50K
49
Private
199,029
Bachelors
13
Married-civ-spouse
Sales
Husband
White
Male
0
2,415
55
United-States
Middle-aged
0
>50K
47
Self-emp-not-inc
145,290
HS-grad
9
Married-civ-spouse
Exec-managerial
Husband
White
Male
0
2,415
50
United-States
Middle-aged
0
>50K
41
Local-gov
297,248
Prof-school
15
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
2,415
45
United-States
Middle-aged
0
>50K
55
Self-emp-inc
227,856
Bachelors
13
Married-civ-spouse
Exec-managerial
Husband
White
Male
0
2,415
50
United-States
Middle-aged
0
>50K
39
Private
179,731
Masters
14
Married-civ-spouse
Exec-managerial
Wife
White
Female
0
2,415
65
United-States
Middle-aged
0
>50K
42
Private
154,374
Bachelors
13
Married-civ-spouse
Exec-managerial
Husband
White
Male
0
2,415
60
United-States
Middle-aged
0
>50K
41
?
27,187
Assoc-voc
11
Married-civ-spouse
?
Husband
White
Male
0
2,415
12
United-States
Middle-aged
0
>50K
46
Private
326,857
Masters
14
Married-civ-spouse
Sales
Husband
White
Male
0
2,415
65
United-States
Middle-aged
0
>50K
40
Private
160,369
Masters
14
Married-civ-spouse
Exec-managerial
Husband
White
Male
0
2,415
45
United-States
Middle-aged
0
>50K
32
Private
396,745
Bachelors
13
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
2,415
48
United-States
Middle-aged
0
>50K
41
Self-emp-inc
151,089
Some-college
10
Married-civ-spouse
Exec-managerial
Husband
White
Male
0
2,415
55
United-States
Middle-aged
0
>50K
60
Self-emp-inc
336,188
Prof-school
15
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
2,415
80
United-States
Senior
0
>50K
31
Private
279,015
Masters
14
Married-civ-spouse
Exec-managerial
Husband
White
Male
0
2,415
70
Taiwan
Middle-aged
0
>50K
58
Self-emp-not-inc
43,221
Some-college
10
Married-civ-spouse
Farming-fishing
Husband
White
Male
0
2,415
40
United-States
Middle-aged
0
>50K
37
Self-emp-inc
30,529
Bachelors
13
Married-civ-spouse
Sales
Husband
White
Male
0
2,415
50
United-States
Middle-aged
0
>50K
44
Self-emp-not-inc
201,742
Bachelors
13
Married-civ-spouse
Exec-managerial
Husband
White
Male
0
2,415
50
United-States
Middle-aged
0
>50K
39
Self-emp-not-inc
218,490
Prof-school
15
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
2,415
50
?
Middle-aged
0
>50K
43
Federal-gov
156,996
Prof-school
15
Married-civ-spouse
Prof-specialty
Husband
Asian-Pac-Islander
Male
0
2,415
55
?
Middle-aged
0
>50K
55
Self-emp-inc
298,449
Bachelors
13
Married-civ-spouse
Exec-managerial
Husband
White
Male
0
2,415
50
United-States
Middle-aged
0
>50K
44
Self-emp-inc
191,712
Masters
14
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
2,415
55
United-States
Middle-aged
0
>50K
39
Private
198,654
Prof-school
15
Married-civ-spouse
Prof-specialty
Husband
Asian-Pac-Islander
Male
0
2,415
67
India
Middle-aged
0
>50K
46
Self-emp-not-inc
102,308
Bachelors
13
Married-civ-spouse
Sales
Husband
White
Male
0
2,415
40
United-States
Middle-aged
0
>50K
39
Private
348,521
Some-college
10
Married-civ-spouse
Farming-fishing
Husband
White
Male
0
2,415
99
United-States
Middle-aged
0
>50K
62
Self-emp-inc
56,248
Bachelors
13
Married-civ-spouse
Farming-fishing
Husband
White
Male
0
2,415
60
United-States
Senior
0
>50K
31
Self-emp-not-inc
252,752
HS-grad
9
Married-civ-spouse
Other-service
Wife
White
Female
0
2,415
40
United-States
Middle-aged
0
>50K
46
Private
192,963
Bachelors
13
Married-civ-spouse
Adm-clerical
Husband
Asian-Pac-Islander
Male
0
2,415
35
Philippines
Middle-aged
0
>50K
46
Self-emp-not-inc
198,759
Prof-school
15
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
2,415
80
United-States
Middle-aged
0
>50K
39
Self-emp-inc
143,123
Assoc-voc
11
Married-civ-spouse
Craft-repair
Husband
White
Male
0
2,415
40
United-States
Middle-aged
0
>50K
39
Private
237,713
Prof-school
15
Married-civ-spouse
Sales
Husband
White
Male
0
2,415
99
United-States
Middle-aged
0
>50K
59
Private
81,929
Doctorate
16
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
2,415
45
United-States
Middle-aged
0
>50K

Documentation of the Dataset - Adult Census Income Dataset Optimized

1. General Description of the Dataset

This dataset, called Adult Census Income Dataset Optimized, is an optimized version of the Adult Census Income Dataset. The latter comes from the UCI Machine Learning Repository and is commonly used in classification tasks to predict whether a person earns more or less than $50,000 per year based on various demographic characteristics.

We optimized the dataset by adding two new columns: capital_gain_loss_ratio and age_group, to enrich the quality of the features. These additions aim to improve model performance, provided they are properly integrated and preprocessed.

Data Sources

The data was extracted from the U.S. Census Survey, a demographic census conducted by the United States Census Bureau. It was used by the Census Bureau to estimate the income of adults based on different personal and social characteristics. The dataset is available on the UCI Machine Learning Repository and is commonly used in machine learning research, particularly for classification tasks.

The dataset contains the following information:

  • Demographic data such as age, sex, marital status, occupation, and ethnicity.
  • Economic characteristics, such as income (target for classification), hours worked per week, and capital gains/losses.

Purpose of Creation

The primary goal of creating this dataset was to allow studies on the influence of certain socio-economic and demographic characteristics on individuals' income. The dataset was designed for use in machine learning analysis and data studies to predict a person’s income based on these characteristics. The target problem, "predict whether a person earns more than $50,000 or not", is intended for testing supervised classification models.

The intent behind its creation is to provide a case study for researchers, machine learning practitioners, and students to test, train, and evaluate classification models (e.g., logistic regression, decision trees, SVM).

2. AI Use Cases

1. Prediction of Individual Income

The main use case of this dataset is predicting an individual's annual income (more or less than $50,000) based on different characteristics such as age, education, occupation, hours worked per week, and other demographic factors. This problem can be framed as a binary classification (income > 50,000 or not).

Possible Applications:

  • Development of credit scoring models: Financial institutions could use this type of model to assess an individual's repayment capacity based on their socio-economic characteristics.
  • Analysis of income inequality: AI could be used to explore the factors influencing income gaps in society and identify specific trends related to demographic groups.

2. Evaluation of Economic and Social Inequalities

Researchers can use this dataset to study income disparities between different groups based on criteria such as gender, education, or ethnicity. AI can be used to analyze the correlation between these factors and determine potential biases in the labor market.

Possible Applications:

  • Public policy recommendation systems: AI can identify social groups most vulnerable to poverty and recommend targeted policies to improve equal opportunities.
  • Economic inequality forecasting: Predictive models can provide insights into the evolution of income gaps based on changes in socio-economic factors.

3. Improving Hiring and Inclusion Strategies

By analyzing this dataset, businesses can implement decision-support systems for human resources. This could include predictive hiring models aimed at identifying candidates most likely to succeed in a given role while considering diversity and inclusion aspects.

Possible Applications:

  • Fairness in hiring decisions: Using AI to reduce biases in recruitment, ensuring that factors such as gender, age, or ethnicity do not unduly influence hiring decisions.
  • Optimizing compensation policies: Identifying criteria that disproportionately affect compensation to ensure more equitable salary policies.

4. Prediction of the Impact of Education and Training Programs

The dataset contains information on individuals' education levels, allowing the prediction of the impact of educational and training programs on income. AI can be used to analyze the economic benefits of education and professional qualifications.

Possible Applications:

  • Cost-benefit analysis of professional training: AI can predict the economic impact of various types of professional training on individuals' future incomes.
  • Optimization of educational investments: Governments and businesses can use AI models to invest in the most effective educational programs to maximize economic returns on their investments.

5. Analysis of Demographic Trends in Social Data

AI can be used to extract long-term trends from this dataset, such as the evolution of work behaviors or income changes based on age, gender, and other demographic criteria.

Possible Applications:

  • Forecasting labor market trends: AI can help predict future changes in the job market, such as the evolution of the highest-paying jobs.
  • Identifying underrepresented populations: Using classification models to detect groups underrepresented in certain professions or sectors.

3. Description of the Columns

Number of Columns: 17 (including the two new columns)

Number of Rows: 32,562 rows

  1. age

    • Description: The individual's age in years.
    • Type: int64
    • Use: Age is often used to segment individuals into age groups (e.g., young, adult, senior).
  2. workclass

    • Description: The individual's work category. It describes the type of employment status, such as:
      • Private: Private sector employee
      • Self-emp-not-inc: Unincorporated self-employed
      • Self-emp-inc: Incorporated self-employed
      • Federal-gov: Federal government employee
      • Local-gov: Local government employee
      • State-gov: State government employee
      • Without-pay: Unpaid
      • Never-worked: Never worked
    • Type: string
  3. fnlwgt

    • Description: The "final weight," a weight used to adjust the sample to properly represent the U.S. population.
    • Type: int64
  4. education

    • Description: The individual's education level.
    • Type: string
  5. education.num

    • Description: A numerical version of the education level.
    • Type: int64
  6. marital.status

    • Description: The marital status of the individual.
    • Type: string
  7. occupation

    • Description: The type of profession the individual is engaged in.
    • Type: string
  8. relationship

    • Description: The individual's relationship to the household reference person (e.g., spouse, child).
    • Type: string
  9. race

    • Description: The individual's racial background.
    • Type: string
  10. sex

  • Description: The individual's sex.
  • Type: string
  1. capital.gain
  • Description: The capital gains realized by the individual.
  • Type: int64
  1. capital.loss
  • Description: The capital losses suffered by the individual.
  • Type: int64
  1. hours.per.week
  • Description: The number of hours worked per week.
  • Type: int64
  1. native.country
  • Description: The individual's country of origin.
  • Type: string
  1. age_group
  • Description: This column groups individuals into three age groups:
    • Young: Individuals aged 0-30 years.
    • Middle-aged: Individuals aged 30-60 years.
    • Senior: Individuals aged 60-100 years.
  • Type: int64
  • Purpose: This column allows for population segmentation by age, useful for demographic analyses and income trend studies.
  1. capital_gain_loss_ratio
  • Description: The ratio between capital gains and capital losses.
  • Type: int64
  • Purpose: This column helps analyze the relationship between capital gains and losses, useful for financial analysis or studying the impact of investments on income.
  1. income
  • Description: The individual's annual income. It can be either:
    • ">50K": Income greater than $50,000
    • "<=50K": Income less than or equal to $50,000
  • Type: string (target variable for prediction models).
Downloads last month
43