Skip to content

Commit dd03028

Browse files
cls1 bug hunt py issue wordsmith
1 parent 919e5bb commit dd03028

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/classification1.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,8 +1175,8 @@ rare_plot + geom_point(aes(x = new_point[1], y = new_point[2]),
11751175
```
11761176

11771177
Figure \@ref(fig:05-upsample-2) shows what happens if we set the background color of
1178-
each area of the plot to the predictions the K-nearest neighbors
1179-
classifier would make. We can see that the decision is
1178+
each area of the plot to the prediction the K-nearest neighbors
1179+
classifier would make for a new observation at that location. We can see that the decision is
11801180
always "benign," corresponding to the blue color.
11811181

11821182
```{r 05-upsample-2, echo = FALSE, fig.height = 3.5, fig.width = 4.5, fig.align = "center", fig.cap = "Imbalanced data with background color indicating the decision of the classifier and the points represent the labeled data."}

0 commit comments

Comments
 (0)