You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/clustering.Rmd
+3-15Lines changed: 3 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -164,7 +164,7 @@ library(tidyverse)
164
164
set.seed(1)
165
165
```
166
166
167
-
Now we can load and preview the `penguins` data.
167
+
Now we can load and preview the `penguins` data.\index{read function!read\_csv}
168
168
169
169
```{r message = FALSE, warning = FALSE}
170
170
penguins <- read_csv("data/penguins.csv")
@@ -639,7 +639,7 @@ in the fourth iteration; both the centers and labels will remain the same from t
639
639
640
640
### Random restarts
641
641
642
-
Unlike the classification and regression models we studied in previous chapters, K-means \index{K-means!restart, nstart} can get "stuck" in a bad solution.
642
+
Unlike the classification and regression models we studied in previous chapters, K-means \index{K-means!restart} can get "stuck" in a bad solution.
643
643
For example, Figure \@ref(fig:10-toy-kmeans-bad-init) illustrates an unlucky random initialization by K-means.
0 commit comments