Skip to content

Commit 24b74d2

Browse files
committed
addresses issue rasbt#71
1 parent 7497726 commit 24b74d2

File tree

5 files changed

+37
-8
lines changed

5 files changed

+37
-8
lines changed

code/ch06/ch06.ipynb

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@
365365
"# UCI machine learning repository, un-comment the following line\n",
366366
"# of code to load the dataset from a local path:\n",
367367
"\n",
368-
"# df_wine = pd.read_csv('wdbc.data', header=None)\n",
368+
"# df = pd.read_csv('wdbc.data', header=None)\n",
369369
"\n",
370370
"df.head()"
371371
]
@@ -1661,7 +1661,19 @@
16611661
"name": "python",
16621662
"nbconvert_exporter": "python",
16631663
"pygments_lexer": "ipython3",
1664-
"version": "3.6.1"
1664+
"version": "3.6.4"
1665+
},
1666+
"toc": {
1667+
"nav_menu": {},
1668+
"number_sections": true,
1669+
"sideBar": true,
1670+
"skip_h1_title": false,
1671+
"title_cell": "Table of Contents",
1672+
"title_sidebar": "Contents",
1673+
"toc_cell": false,
1674+
"toc_position": {},
1675+
"toc_section_display": true,
1676+
"toc_window_display": false
16651677
}
16661678
},
16671679
"nbformat": 4,

code/ch06/ch06.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
# UCI machine learning repository, un-comment the following line
8888
# of code to load the dataset from a local path:
8989

90-
# df_wine = pd.read_csv('wdbc.data', header=None)
90+
# df = pd.read_csv('wdbc.data', header=None)
9191

9292
df.head()
9393

code/ch07/ch07.ipynb

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@
11571157
" 'Color intensity', 'Hue', 'OD280/OD315 of diluted wines',\n",
11581158
" 'Proline']\n",
11591159
"\n",
1160-
"# if the Breast Cancer dataset is temporarily unavailable from the\n",
1160+
"# if the Wine dataset is temporarily unavailable from the\n",
11611161
"# UCI machine learning repository, un-comment the following line\n",
11621162
"# of code to load the dataset from a local path:\n",
11631163
"\n",
@@ -1568,7 +1568,19 @@
15681568
"name": "python",
15691569
"nbconvert_exporter": "python",
15701570
"pygments_lexer": "ipython3",
1571-
"version": "3.6.1"
1571+
"version": "3.6.4"
1572+
},
1573+
"toc": {
1574+
"nav_menu": {},
1575+
"number_sections": true,
1576+
"sideBar": true,
1577+
"skip_h1_title": false,
1578+
"title_cell": "Table of Contents",
1579+
"title_sidebar": "Contents",
1580+
"toc_cell": false,
1581+
"toc_position": {},
1582+
"toc_section_display": true,
1583+
"toc_window_display": false
15721584
}
15731585
},
15741586
"nbformat": 4,

code/ch07/ch07.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ def get_params(self, deep=True):
541541
'Color intensity', 'Hue', 'OD280/OD315 of diluted wines',
542542
'Proline']
543543

544-
# if the Breast Cancer dataset is temporarily unavailable from the
544+
# if the Wine dataset is temporarily unavailable from the
545545
# UCI machine learning repository, un-comment the following line
546546
# of code to load the dataset from a local path:
547547

docs/errata/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ Dear Readers,
22

33
again, I tried my best to cut all the little typos, errors, and formatting bugs that slipped through the copy editing stage. Even so, while I think it is just human to have a little typo here and there, I know that this can be quite annoying as a reader!
44

5-
To turn those annoyances into something positive, I will donate $5 to [UNICEF USA](https://www.unicefusa.org), the US branch of the United Nations agency for raising funds to provide emergency food and healthcare for children in developing countries, for each little unreported buglet you find!
5+
To turn those annoyances into something positive, I will donate $5 to [UNICEF USA](https://www.unicefusa.org), the US branch of the United Nations agency for raising funds to provide emergency food and healthcare for children in developing countries, for each little, previously unreported buglet you find and submit to the issue tracker.
66

77
Also below, I added a small leaderboard to keep track of the errata submissions and errors you found. Please let me know if you don't want to be explicitely mentioned in that list!
88

99

10-
- Amount for the next donation: 60$
10+
- Amount for the next donation: 65$
1111
- Amount donated: 0$
1212

1313

@@ -24,6 +24,7 @@ Contributor list:
2424
5. Elias Strehle ($5)
2525
6. Oliver Tomic ($5)
2626
7. Krishna Mohan ($5)
27+
8. Jesse Blocher ($5)
2728

2829

2930
<br>
@@ -58,6 +59,10 @@ pg. 91
5859

5960
On the top of the page, it says "Here, p (i | t ) is the proportion of the samples that belong to class c." The "*c*" should be changed to *i*.
6061

62+
pg. 101
63+
64+
The text description references "entropy" as the impurity criterion being used in the `RandomForestClassifier`. However, `"gini"` is used in the code example, and thus "entropy" should be changed to "gini" in the text as well.
65+
6166
pg. 136
6267

6368
The print version is incorrectly shows

0 commit comments

Comments
 (0)