Skip to content

Commit 2b821ff

Browse files
Update source/regression2.Rmd
Co-authored-by: Joel Ostblom <[email protected]>
1 parent f42a768 commit 2b821ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/regression2.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ obtained from the same problem, shown in Figure \@ref(fig:08-compareRegression).
349349

350350
```{r 08-compareRegression, echo = FALSE, warning = FALSE, message = FALSE, fig.height = 4.75, fig.width = 10, fig.cap = "Comparison of simple linear regression and KNN regression."}
351351
set.seed(1234)
352-
# neighbors = 28 from regression1 chapter
352+
# neighbors = 52 from regression1 chapter
353353
sacr_spec <- nearest_neighbor(weight_func = "rectangular", neighbors = 52) |>
354354
set_engine("kknn") |>
355355
set_mode("regression")

0 commit comments

Comments
 (0)