Skip to content

Commit a066346

Browse files
classification2 new graphics
1 parent b523442 commit a066346

File tree

7 files changed

+2
-2
lines changed

7 files changed

+2
-2
lines changed
-246 KB
Loading

img/classification2/cv.png

-5.66 KB
Loading
-307 KB
Binary file not shown.
50.6 KB
Loading
-184 KB
Binary file not shown.

img/classification2/training_test.png

179 KB
Loading

source/classification2.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ labels for new observations without known class labels.
9595
> when predicting whether a patient's tumor is malignant or benign!
9696
9797
```{r 06-training-test, echo = FALSE, warning = FALSE, fig.cap = "Splitting the data into training and testing sets.", fig.retina = 2, out.width = "100%"}
98-
knitr::include_graphics("img/classification2/training_test.jpeg")
98+
knitr::include_graphics("img/classification2/training_test.png")
9999
```
100100

101101
How exactly can we assess how well our predictions match the actual labels for
@@ -1257,7 +1257,7 @@ model we can use the test set to estimate its accuracy.
12571257
The overall process is summarized in Figure \@ref(fig:06-overview).
12581258

12591259
```{r 06-overview, echo = FALSE, message = FALSE, warning = FALSE, fig.pos = "H", out.extra="", fig.cap = "Overview of K-NN classification.", fig.retina = 2, out.width = "100%"}
1260-
knitr::include_graphics("img/classification2/train-test-overview.jpeg")
1260+
knitr::include_graphics("img/classification2/train-test-overview.png")
12611261
```
12621262

12631263
The overall workflow for performing K-nearest neighbors classification using `tidymodels` is as follows:

0 commit comments

Comments
 (0)