File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ is that we are now predicting numerical variables instead of categorical variabl
107
107
``` {note}
108
108
You can usually tell whether a variable is numerical or
109
109
categorical—and therefore whether you need to perform regression or
110
- classification—by taking two response variables X and Y from your data,
110
+ classification—by taking the response variable for two observations X and Y from your data,
111
111
and asking the question, "is response variable X *more* than response
112
112
variable Y?" If the variable is categorical, the question will make no sense.
113
113
(Is blue more than red? Is benign more than malignant?) If the variable is
@@ -175,8 +175,8 @@ want to predict (sale price) on the y-axis.
175
175
Given that the y-axis unit is dollars in {numref}`fig:07-edaRegr`,
176
176
we format the axis labels to put dollar signs in front of the house prices,
177
177
as well as commas to increase the readability of the larger numbers.
178
- We can do this in `altair` by passing the `axis=alt.Axis (format="$,.0f")` argument
179
- to the `y` encoding channel in an `altair` specification .
178
+ We can do this in `altair` by using `.axis (format="$,.0f")` on
179
+ the `y` encoding channel.
180
180
```
181
181
182
182
``` {code-cell} ipython3
You can’t perform that action at this time.
0 commit comments