Skip to content

Commit b69ebce

Browse files
committed
fd ohe
1 parent eabee2e commit b69ebce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/finding_donors/finding_donors.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
"| 2 | A | | 1 | 0 | 0 |\n",
238238
"\n",
239239
"Additionally, as with the non-numeric features, we need to convert the non-numeric target label, `'income'` to numerical values for the learning algorithm to work. Since there are only two possible categories for this label (\"<=50K\" and \">50K\"), we can avoid using one-hot encoding and simply encode these two categories as `0` and `1`, respectively. In code cell below, you will need to implement the following:\n",
240-
" - Use [`pandas.get_dummies()`](http://pandas.pydata.org/pandas-docs/stable/generated/pandas.get_dummies.html?highlight=get_dummies#pandas.get_dummies) to perform one-hot encoding on the `'features_raw'` data.\n",
240+
" - Use [`pandas.get_dummies()`](http://pandas.pydata.org/pandas-docs/stable/generated/pandas.get_dummies.html?highlight=get_dummies#pandas.get_dummies) to perform one-hot encoding on the `'features_log_minmax_transform'` data.\n",
241241
" - Convert the target label `'income_raw'` to numerical entries.\n",
242242
" - Set records with \"<=50K\" to `0` and records with \">50K\" to `1`."
243243
]

0 commit comments

Comments
 (0)