mstz commited on
Commit
d5654e4
·
1 Parent(s): 69e549d

Upload pums.py

Browse files
Files changed (1) hide show
  1. pums.py +41 -41
pums.py CHANGED
@@ -17,47 +17,47 @@ _ENCODING_DICS = {
17
  }
18
  }
19
  _BASE_FEATURE_NAMES = [
20
- "age",int64,
21
- "class_of_worker",string,
22
- "detailed_industry_recode",int64,
23
- "detailed_occupation_recode",int64,
24
- "education",string,
25
- "wage_per_hour",int64,
26
- "enroll_in_edu_inst_last_wk",string,
27
- "marital_stat",string,
28
- "major_industry_code",string,
29
- "major_occupation_code",string,
30
- "race",string,
31
- "hispanic_origin",string,
32
- "sex",string,
33
- "member_of_a_labor_union",string,
34
- "reason_for_unemployment",string,
35
- "full_or_part_time_employment_stat",string,
36
- "capital_gains",int64,
37
- "capital_losses",int64,
38
- "dividends_from_stocks",int64,
39
- "tax_filer_stat",string,
40
- "region_of_previous_residence",string,
41
- "state_of_previous_residence",string,
42
- "detailed_household_and_family_stat",string,
43
- "detailed_household_summary_in_household",string,
44
- "migration_code_change_in_msa",string,
45
- "migration_code_change_in_reg",string,
46
- "migration_code_move_within_reg",string,
47
- "live_in_this_house_1_year_ago",string,
48
- "migration_prev_res_in_sunbelt",string,
49
- "num_persons_worked_for_employer",int64,
50
- "family_members_under_18",string,
51
- "country_of_birth_father",string,
52
- "country_of_birth_mother",string,
53
- "country_of_birth_self",string,
54
- "citizenship",string,
55
- "own_business_or_self_employed",int64,
56
- "fill_inc_questionnaire_for_veteran_admin",string,
57
- "veterans_benefits",int64,
58
- "weeks_worked_in_year",int64,
59
- "year",int64,
60
- "class",string,
61
  ]
62
 
63
  DESCRIPTION = "Pums dataset."
 
17
  }
18
  }
19
  _BASE_FEATURE_NAMES = [
20
+ "age",
21
+ "class_of_worker",
22
+ "detailed_industry_recode",
23
+ "detailed_occupation_recode",
24
+ "education",
25
+ "wage_per_hour",
26
+ "enroll_in_edu_inst_last_wk",
27
+ "marital_stat",
28
+ "major_industry_code",
29
+ "major_occupation_code",
30
+ "race",
31
+ "hispanic_origin",
32
+ "sex",
33
+ "member_of_a_labor_union",
34
+ "reason_for_unemployment",
35
+ "full_or_part_time_employment_stat",
36
+ "capital_gains",
37
+ "capital_losses",
38
+ "dividends_from_stocks",
39
+ "tax_filer_stat",
40
+ "region_of_previous_residence",
41
+ "state_of_previous_residence",
42
+ "detailed_household_and_family_stat",
43
+ "detailed_household_summary_in_household",
44
+ "migration_code_change_in_msa",
45
+ "migration_code_change_in_reg",
46
+ "migration_code_move_within_reg",
47
+ "live_in_this_house_1_year_ago",
48
+ "migration_prev_res_in_sunbelt",
49
+ "num_persons_worked_for_employer",
50
+ "family_members_under_18",
51
+ "country_of_birth_father",
52
+ "country_of_birth_mother",
53
+ "country_of_birth_self",
54
+ "citizenship",
55
+ "own_business_or_self_employed",
56
+ "fill_inc_questionnaire_for_veteran_admin",
57
+ "veterans_benefits",
58
+ "weeks_worked_in_year",
59
+ "year",
60
+ "class",
61
  ]
62
 
63
  DESCRIPTION = "Pums dataset."