Skip to content

Commit

Permalink
Merge pull request #4 from radekosmulski/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
tunguz committed Jun 18, 2022
2 parents 653b722 + 9eb1b2f commit c93403c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/census_income/XGBClassifier.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@
"source": [
"train_data['gender'] = 1*(train_data['gender'] == ' Male')\n",
"test_data['gender'] = 1*(test_data['gender'] == ' Male')\n",
"test_data['income_bracket'] = test_data['income_bracket'].str[:-1]\n",
"\n",
"train_data['native_country'] = 1*(train_data['native_country'] == ' United-States')\n",
"test_data['native_country'] = 1*(test_data['native_country'] == ' United-States')"
Expand Down

0 comments on commit c93403c

Please sign in to comment.