The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version |
Location |
Description |
Submitted by |
Date submitted |
Printed, PDF |
Page 40
Line 4 of the def plot_error_rates(self): |
The code in the book is
error_rates = r.error_rate(f)
However, it generated error.
I tried to change 'r' to 'self' and it works for now,
|
Steven Ang |
May 05, 2018 |
PDF |
Page 46
last paragraph |
From the book:
"The beauty of this is that your work on measuring fraudulent orders is drastically
reduced because all you have to look for is the orders with gift cards. Because the total number of orders is 1,000, and 100 of those are fraudulent, we will look at 60 of those fraudulent orders. Out of the remaining 900, 90 used gift cards, which brings the total we need to look at to 150!"
This makes no sense. Only looking at the orders using gift cards gives us 60 frauds. But there are no gift cards left in the remaining 900 orders. So where do the 90 gift cards come from?
Btw: choosing P(Fraud) = P(Giftcard) = 0.1 makes
P(Fraud | Giftcard) = P(Giftcard | Fraud)
so maybe changing one probability would be nice :)
|
Anonymous |
Jan 06, 2020 |
PDF |
Page 48
6th paragraph |
The text reads:
"The probability that an order is fraudulent given the use of gift cards and multiple promos is 62.5%."
Nowhere is the equation that has the result of 62.6 described. Based on the text, I have no idea how that number is calculated.
|
Neil Shore |
Nov 03, 2019 |
Printed |
Page 72
Equation at the bottom of the page |
The equation for calculating GINI impurity is:
IG(Sweet) = 2/3(1 - 2/3) + 0/2(1 - 2/2) = 2/9
It should be:
IG(Sweet) = 2/3(1 - 2/3) + 0/2(1 - 0/2) = 2/9
(zero instead of two)
|
Arkadiusz Robinski |
Sep 15, 2018 |