-
Notifications
You must be signed in to change notification settings - Fork 120
/
PDSwR2_errata.html
155 lines (140 loc) · 10.4 KB
/
PDSwR2_errata.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
UTF-8
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900,300italic,400italic,700italic,900italic&subset=latin" rel="stylesheet" type="text/css">
<style>
body {
color: #333;
font-size: 10px;
padding: 40px;
text-align: center;
font-family: Lato, sans-serif;
font-weight: 300;
line-height: 1.5em;
}
.manning-logo {
width: 75%;
max-width: 500px;
margin: auto;
}
.errata-body {
text-align: left;
width: 75%;
max-width: 960px;
margin: 40px auto;
padding-top: calc(40px - 0.5em);
padding-bottom: calc(20px - 0.5em);
border-top: solid thin #333;
border-bottom: solid thin #333;
font-size: 2em;
line-height: 1.5em;
}
.errata-body > * {
padding: 0;
margin: 0;
margin-bottom: 20px;
}
.copyright {
font-size: 1.25em;
padding: 40px auto;
}
code {
font-family: new courier;
color: grey
}
</style>
</head>
<body>
<div class="manning-logo">
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 350 45" version="1.1">
<style>
.style0{
fill: #333;
fill: #333;
fill-rule: evenodd;
}
</style><defs/>
<g transform="translate(0,-1007.3622)">
<g transform="matrix(1.0016907,0,0,0.99930881,500.03637,1045.9036)">
<g transform="matrix(1.25,0,0,-1.25,-406.19425,6.278225)">
<path d="m 0 0 -2.975 0 0 11.882 -1.961 -5.856 -1.324 0 -1.963 5.856 0 -11.882 -2.941 0 0 22.267 1.471 0 L -5.6 10.67 -1.473 22.267 0 22.267 0 0 z" class="style0"/>
</g>
<g transform="matrix(1.25,0,0,-1.25,-395.52288,-1.7259)">
<path d="M 0 0 -1.213 9.315 -2.424 0 0 0 z m 3.721 -6.403 -2.856 0 -0.549 3.95 -3.056 0 -0.52 -3.95 -2.713 0 3.375 22.266 2.946 0 3.373 -22.266 z" class="style0"/>
</g>
<g transform="matrix(1.25,0,0,-1.25,-375.8695,6.278225)">
<path d="m 0 0 -1.473 0 -4.99 12.689 0 -12.689 -2.943 0 0 22.267 1.472 0 4.961 -12.778 0 12.778 2.973 0 L 0 0 z" class="style0"/>
</g>
<g transform="matrix(1.25,0,0,-1.25,-359.28263,6.278225)">
<path d="m 0 0 -1.471 0 -4.99 12.689 0 -12.689 -2.945 0 0 22.267 1.472 0 4.961 -12.778 0 12.778 2.973 0 L 0 0 z" class="style0"/>
</g>
<path d="m -350.628 6.278 -3.826 0 0 -27.834 3.826 0 0 27.834 z" class="style0"/>
<g transform="matrix(1.25,0,0,-1.25,-334.0775,6.278225)">
<path d="m 0 0 -1.471 0 -4.992 12.689 0 -12.689 -2.943 0 0 22.267 1.472 0 4.961 -12.778 0 12.778 2.973 0 L 0 0 z" class="style0"/>
</g>
<g transform="matrix(1.25,0,0,-1.25,-317.63463,5.45185)">
<path d="m 0 0 c -0.867 -0.538 -1.961 -0.809 -3.289 -0.809 -4.311 0 -6.463 3.772 -6.463 11.309 0 7.501 2.039 11.253 6.115 11.253 0.674 0 1.321 -0.087 1.934 -0.262 l 0 -2.364 c -0.539 0.113 -0.992 0.17 -1.356 0.17 -2.406 0 -3.605 -2.931 -3.605 -8.797 0 -5.902 1.164 -8.856 3.49 -8.856 0.137 0 0.24 0.01 0.316 0.03 l 0 4.615 c 0 1.092 -0.125 1.846 -0.375 2.252 -0.191 0.325 -0.519 0.488 -0.978 0.488 -0.232 0 -0.397 -0.01 -0.492 -0.028 l 0 2.423 c 0.326 0.056 0.662 0.086 1.01 0.086 C -1.23 11.51 0 9.684 0 6.028 L 0 0 z" class="style0"/>
</g>
<g transform="matrix(1.25,0,0,-1.25,-299.75388,-13.117525)">
<path d="m 0 0 c 0 2.846 -0.854 4.271 -2.563 4.271 l 0 -9.81 c 0.479 0.077 0.977 0.508 1.497 1.301 C -0.355 -3.164 0 -1.751 0 0 m 3.087 -0.029 c 0 -2.556 -0.788 -4.655 -2.364 -6.285 -1.039 -1.062 -2.133 -1.746 -3.286 -2.051 l 0 -7.152 -3.06 0 0 22.267 2.335 0 c 1.829 0 3.3 -0.487 4.417 -1.469 1.305 -1.175 1.958 -2.944 1.958 -5.31" class="style0"/>
</g>
<g transform="matrix(1.25,0,0,-1.25,-281.10875,-0.567525)">
<path d="m 0 0 c 0 -1.844 -0.471 -3.277 -1.412 -4.298 -0.83 -0.883 -1.875 -1.326 -3.145 -1.326 -1.252 0 -2.291 0.443 -3.115 1.326 -0.924 1.021 -1.387 2.454 -1.387 4.298 l 0 16.79 3.059 0 0 -17.392 c 0 -0.83 0.145 -1.463 0.432 -1.907 0.289 -0.439 0.625 -0.663 1.011 -0.663 0.385 0 0.731 0.224 1.037 0.663 0.309 0.444 0.463 1.077 0.463 1.907 l 0 17.392 L 0 16.79 0 0 z" class="style0"/>
</g>
<g transform="matrix(1.25,0,0,-1.25,-268.9555,-2.9149)">
<path d="M 0 0 C 0 2.057 -0.549 3.633 -1.645 4.73 -2.051 4.596 -2.465 4.527 -2.887 4.527 l 0 -9.432 c 0.791 0 1.434 0.337 1.934 1.009 C -0.32 -3.05 0 -1.751 0 0 m -0.607 9.749 c 0 1.751 -0.758 2.654 -2.28 2.711 l 0 -5.394 c 1.522 0.039 2.28 0.933 2.28 2.683 M 3.115 0 c 0 -2.674 -0.711 -4.638 -2.135 -5.886 -1.134 -0.981 -2.644 -1.468 -4.527 -1.468 l -2.396 0 0 22.266 2.451 0 c 1.597 0 2.931 -0.394 4.01 -1.182 C 1.787 12.808 2.422 11.48 2.422 9.749 2.422 8.02 1.865 6.719 0.748 5.855 1.307 5.412 1.807 4.771 2.25 3.924 2.824 2.75 3.115 1.441 3.115 0" class="style0"/>
</g>
<g transform="matrix(1.25,0,0,-1.25,-251.973,6.278225)">
<path d="m 0 0 -7.182 0 0 22.267 3.057 0 0 -19.818 L 0 2.449 0 0 z" class="style0"/>
</g>
<path d="m -244.834 6.278 -3.824 0 0 -27.834 3.824 0 0 27.834 z" class="style0"/>
<g transform="matrix(1.25,0,0,-1.25,-231.13075,6.20985)">
<path d="m 0 0 c -0.463 -0.135 -0.963 -0.202 -1.502 -0.202 -4.078 0 -6.115 3.771 -6.115 11.308 0 7.501 2.037 11.253 6.115 11.253 0.539 0 1.039 -0.07 1.502 -0.204 L 0 19.76 c -0.52 0.096 -0.867 0.143 -1.039 0.143 -2.326 0 -3.488 -2.93 -3.488 -8.797 0 -5.902 1.181 -8.856 3.547 -8.856 0.228 0 0.556 0.041 0.98 0.115 L 0 0 z" class="style0"/>
</g>
<g transform="matrix(1.25,0,0,-1.25,-221.61175,-1.7259)">
<path d="M 0 0 -1.211 9.315 -2.424 0 0 0 z m 3.721 -6.403 -2.856 0 -0.545 3.95 -3.06 0 -0.52 -3.95 -2.711 0 3.375 22.266 2.942 0 3.375 -22.266 z" class="style0"/>
</g>
<g transform="matrix(1.25,0,0,-1.25,-203.97988,-18.4899)">
<path d="m 0 0 -2.973 0 0 -19.814 -3.056 0 0 19.814 -2.971 0 0 2.452 9 0 L 0 0 z" class="style0"/>
</g>
<path d="m -196.839 6.278 -3.824 0 0 -27.834 3.824 0 0 27.834 z" class="style0"/>
<g transform="matrix(1.25,0,0,-1.25,-183.82125,-7.637775)">
<path d="m 0 0 c 0 5.884 -0.664 8.825 -1.992 8.825 -1.326 0 -1.99 -2.941 -1.99 -8.825 0 -5.884 0.664 -8.828 1.99 -8.828 C -0.664 -8.828 0 -5.884 0 0 m 3.057 0 c 0 -4.367 -0.537 -7.453 -1.616 -9.26 -0.789 -1.344 -1.933 -2.02 -3.433 -2.02 -1.5 0 -2.654 0.676 -3.461 2.02 -1.076 1.807 -1.615 4.893 -1.615 9.26 0 4.365 0.539 7.454 1.615 9.259 0.807 1.345 1.961 2.022 3.461 2.022 1.5 0 2.644 -0.677 3.433 -2.022 C 2.52 7.454 3.057 4.365 3.057 0" class="style0"/>
</g>
<g transform="matrix(1.25,0,0,-1.25,-164.02625,6.278225)">
<path d="m 0 0 -1.471 0 -4.992 12.689 0 -12.689 -2.939 0 0 22.267 1.468 0 4.961 -12.778 0 12.778 2.973 0 L 0 0 z" class="style0"/>
</g>
<g transform="matrix(1.25,0,0,-1.25,-149.78313,-0.71765)">
<path d="m 0 0 c 0 -1.887 -0.564 -3.35 -1.701 -4.387 -1.002 -0.905 -2.221 -1.357 -3.666 -1.357 -1.192 0 -2.192 0.26 -2.998 0.779 l 1.068 2.164 c 0.518 -0.306 1.164 -0.461 1.93 -0.461 0.597 0 1.117 0.231 1.56 0.694 0.498 0.535 0.75 1.297 0.75 2.278 0 1.593 -0.826 3.566 -2.482 5.912 -0.981 1.402 -1.672 2.571 -2.076 3.505 -0.403 0.934 -0.608 1.929 -0.608 2.988 0 1.441 0.43 2.584 1.285 3.43 0.856 0.848 2.004 1.272 3.448 1.272 1.002 0 1.799 -0.194 2.392 -0.579 l -1.037 -2.134 c -0.443 0.19 -0.906 0.289 -1.385 0.289 -0.5 0 -0.908 -0.18 -1.226 -0.536 -0.317 -0.353 -0.475 -0.83 -0.475 -1.426 0 -0.734 0.221 -1.519 0.662 -2.365 C -4.27 9.47 -3.711 8.585 -2.885 7.412 -1.883 5.97 -1.172 4.758 -0.75 3.775 -0.25 2.564 0 1.303 0 0" class="style0"/>
</g>
<g transform="matrix(1.25,0,0,-1.25,-490.70113,-38.568025)">
<path d="m 0 0 20.963 0 0 -22.049 C 22.164 -14.783 23.195 -7.35 24.311 0 l 20.964 0 0 -36.024 -19.783 0 0 30.906 C 23.877 -15.348 22.32 -25.64 20.865 -36.024 l -19.681 0 0 32.187 c -2.13 -10.642 -4.026 -21.507 -6.108 -32.187 l -1.869 0 c 2.242 11.898 4.472 23.809 6.693 35.728 C -0.109 -0.153 -0.115 -0.017 0 0" class="style1"/>
</g>
</g>
</g>
</svg>
</div>
<div class="errata-body">
<img style="float:left;width:150px;height:180px;border:1px solid black;margin:0px 10px 0px 0px;" src="https://images.manning.com/book/6/17c08ae-cbab-4305-8385-a919445938d6/Zumel-PDSR-2ed-HI.png">
Errata: February 6, 2022<br><br>
Thank you for purchasing <a href="https://www.manning.com/books/practical-data-science-with-r-second-edition?query=Practical%20Data%20Science%20with%20R,%20Second%20Edition" target="_blank"><i>Practical Data Science with R, Second Edition</i></a>. Please post errata not listed below in this book's <a href="https://livebook.manning.com/book/practical-data-science-with-r-second-edition/discussion" target="_blank">LiveBook Errata thread</a>. We'll update this list as necessary. Corrections are made to all formats during the book's second printing. Thank you!
More notes and help can be found here: <a href="https://github.com/WinVector/PDSwR2">https://github.com/WinVector/PDSwR2</a>.
<br><br><br><br>
<h2>Page 20, subsection 2.1.1</h2>
<p>"We suggest you follows" should read "We suggest you follow".</p>
<h2>Page 116, subsection 5.1.1, Subsetting rows and columns</h2>
<p>"Notice that this returns the column x much like d$x would" should read "Notice that this returns the column x much like df$x would.".</p>
<h2>Page 193, subsection 6.2.5, Figure 6.19</h2>
<p>"contribution : (1-0) * log(1-0.98) = -0.02" should read "contribution : (1-0) * log(1-0.02) = -0.02".</p>
<h2>Chapter 7</h2>
<p>All footnotes mis-numbered as "1".</p>
<h2>Page 180, figure 6.12 </h2>
<p>The label, precision: TP/(TP + FN) should read <strong>recall</strong>: TP/(TP + FN)</p>
<h2>Page 285, subsection 8.3.1</h2>
<p>"Var116_isBAD", should be "Var126_isBAD".</p>
</div>
<div class="copyright">
© 2018 Manning Publications Co. All rights reserved.
</div>
</body>
</html>