Skip to content

Commit 756a5f8

Browse files
committed
fixing code line spilling onto next page
1 parent 79eab00 commit 756a5f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

regression1.Rmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,6 @@ and set `neighbors = tune()` to tell `tidymodels` to tune the number of neighbor
724724
sacr_recipe <- recipe(price ~ sqft + beds, data = sacramento_train) |>
725725
step_scale(all_predictors()) |>
726726
step_center(all_predictors())
727-
728727
sacr_spec <- nearest_neighbor(weight_func = "rectangular",
729728
neighbors = tune()) |>
730729
set_engine("kknn") |>
@@ -746,7 +745,6 @@ sacr_multi <- workflow() |>
746745
747746
sacr_k <- sacr_multi |>
748747
pull(neighbors)
749-
750748
sacr_multi
751749
```
752750

@@ -784,6 +782,7 @@ knn_mult_preds <- knn_mult_fit |>
784782
785783
knn_mult_mets <- metrics(knn_mult_preds, truth = price, estimate = .pred) |>
786784
filter(.metric == 'rmse')
785+
787786
knn_mult_mets
788787
```
789788

0 commit comments

Comments
 (0)