Skip to content

Commit 950732c

Browse files
committed
Reverting commits made from student repository
Revert "update project 2 with finishied notebook in finding donors project folder" This reverts commit b48b3d1, reversing changes made to 2d30eb3.
1 parent b48b3d1 commit 950732c

File tree

2 files changed

+12
-17
lines changed

2 files changed

+12
-17
lines changed

projects/customer_segments/customer_segments.ipynb

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,7 @@
121121
"\n",
122122
"* Fresh: 12000.2977\n",
123123
"* Milk: 5796.2\n",
124-
"* Frozen: 3071.9\n",
125-
"* Grocery: 7951.2\n",
124+
"* Grocery: 3071.9\n",
126125
"* Detergents_paper: 2881.4\n",
127126
"* Delicatessen: 1524.8\n",
128127
"\n",
@@ -821,21 +820,21 @@
821820
],
822821
"metadata": {
823822
"kernelspec": {
824-
"display_name": "Python 3",
823+
"display_name": "Python 2",
825824
"language": "python",
826-
"name": "python3"
825+
"name": "python2"
827826
},
828827
"language_info": {
829828
"codemirror_mode": {
830829
"name": "ipython",
831-
"version": 3
830+
"version": 2
832831
},
833832
"file_extension": ".py",
834833
"mimetype": "text/x-python",
835834
"name": "python",
836835
"nbconvert_exporter": "python",
837-
"pygments_lexer": "ipython3",
838-
"version": "3.6.0"
836+
"pygments_lexer": "ipython2",
837+
"version": "2.7.12"
839838
}
840839
},
841840
"nbformat": 4,

projects/finding_donors/finding_donors.ipynb

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@
467467
"| 2 | A | | 1 | 0 | 0 |\n",
468468
"\n",
469469
"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",
470-
" - 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",
470+
" - 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",
471471
" - Convert the target label `'income_raw'` to numerical entries.\n",
472472
" - Set records with \"<=50K\" to `0` and records with \">50K\" to `1`."
473473
]
@@ -637,7 +637,7 @@
637637
"cell_type": "code",
638638
"execution_count": 65,
639639
"metadata": {
640-
"collapsed": true
640+
"collapsed": false
641641
},
642642
"outputs": [
643643
{
@@ -679,6 +679,7 @@
679679
"- Decision Trees\n",
680680
"- Ensemble Methods (Bagging, AdaBoost, Random Forest, Gradient Boosting)\n",
681681
"- K-Nearest Neighbors (KNeighbors)\n",
682+
"- Stochastic Gradient Descent Classifier (SGDC)\n",
682683
"- Support Vector Machines (SVM)\n",
683684
"- Logistic Regression"
684685
]
@@ -1291,26 +1292,21 @@
12911292
],
12921293
"metadata": {
12931294
"kernelspec": {
1294-
"display_name": "Python 3",
1295+
"display_name": "Python 2",
12951296
"language": "python",
1296-
"name": "python3"
1297+
"name": "python2"
12971298
},
12981299
"language_info": {
12991300
"codemirror_mode": {
13001301
"name": "ipython",
1301-
"version": 3
1302+
"version": 2
13021303
},
13031304
"file_extension": ".py",
13041305
"mimetype": "text/x-python",
13051306
"name": "python",
13061307
"nbconvert_exporter": "python",
1307-
<<<<<<< HEAD
13081308
"pygments_lexer": "ipython2",
13091309
"version": "2.7.13"
1310-
=======
1311-
"pygments_lexer": "ipython3",
1312-
"version": "3.6.0"
1313-
>>>>>>> 9fdeb5401039b5e0cb08048e236e1e661de673fd
13141310
}
13151311
},
13161312
"nbformat": 4,

0 commit comments

Comments
 (0)