This chapter is so much shorter than the previous one :pray:
[ ] In the note in the intro we say: "...by taking two response variables X and Y from your data, and asking the question, “is response variable X more than response variable Y?” If the variable is categorical, the question will make no sense. (Is blue more than red? Is benign more than malignant?)" Shouldn't this be worded so that we are taking to observations A and B from a single variable X, and then asking whether we can say that one of the observations is bigger than the other rather than comparing two different columns/variables against each other (which is what the current wording sounds like)?
[ ] In the second note we say "We can do this in altair by passing the axis=alt.Axis(format="$,.0f") argument to the y encoding channel in an altair specification." which does not reflect our updated syntax. We can change to: "We can do this in altair by passing using .axis(format="$,.0f") on the y encoding channel."
[ ] I think the new colors in figure 7.3, 7.4 and 7.5, makes them a bit harder to follow. I understand the consistency of keeping the predicted line in orange as in later charts and that is fine, but I think we should not change the color of the neighboring observations in 7.3 and 7.4; they should remain blue as they are from the data an not predictions. In 7.5, I think the black error distance dominate the figure visually as they are more eye-catching than the orange line. Making these dotted/dashed or in grey color would probably help draw more attention to the predicted line (and making the same change to the distance in the previous two figures).
[ ] Let's add the bold word: "First, we will create a column transformer for preprocessing our data"
[ ] "Fig. 7.7 shows that when
= 1, the orange line runs perfectly through (almost) all of our training observations. This happens because our predicted values for a given region (typically) depend on just a single observation." Are the parenthesis here for occasions when there is a tie? Could we just say this in a sentence? I think it is a bit confusing why it is not always the case otherwise.
This chapter is so much shorter than the previous one :pray:
axis=alt.Axis(format="$,.0f")
argument to the y encoding channel in an altair specification." which does not reflect our updated syntax. We can change to: "We can do this in altair by passing using.axis(format="$,.0f")
on the y encoding channel."