Skip to content

Commit 7cc503e

Browse files
committed
typo
1 parent 912f9ed commit 7cc503e

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

projects/finding_donors/finding_donors.ipynb

Lines changed: 7 additions & 9 deletions
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
]
@@ -353,9 +353,7 @@
353353
{
354354
"cell_type": "code",
355355
"execution_count": null,
356-
"metadata": {
357-
"collapsed": false
358-
},
356+
"metadata": {},
359357
"outputs": [],
360358
"source": [
361359
"'''\n",
@@ -836,21 +834,21 @@
836834
],
837835
"metadata": {
838836
"kernelspec": {
839-
"display_name": "Python 2",
837+
"display_name": "Python 3",
840838
"language": "python",
841-
"name": "python2"
839+
"name": "python3"
842840
},
843841
"language_info": {
844842
"codemirror_mode": {
845843
"name": "ipython",
846-
"version": 2
844+
"version": 3
847845
},
848846
"file_extension": ".py",
849847
"mimetype": "text/x-python",
850848
"name": "python",
851849
"nbconvert_exporter": "python",
852-
"pygments_lexer": "ipython2",
853-
"version": "2.7.12"
850+
"pygments_lexer": "ipython3",
851+
"version": "3.6.0"
854852
}
855853
},
856854
"nbformat": 4,

0 commit comments

Comments
 (0)