Skip to content

Commit 264b7f2

Browse files
committed
fix errors
1 parent 9b67805 commit 264b7f2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vignettes/articles/Examples.Rmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,8 +1437,8 @@ The following examples use consistent data sets throughout. For regression, we u
14371437

14381438
```{r}
14391439
mr_cls_spec <-
1440-
multinom_reg(penalty = 0.1) |>
1441-
set_engine("brulee")
1440+
multinom_reg() |>
1441+
set_engine("brulee", learn_rate = 0.01, optimizer = "SGD")
14421442
mr_cls_spec
14431443
```
14441444

@@ -1759,7 +1759,7 @@ The following examples use consistent data sets throughout. For regression, we u
17591759
```{r}
17601760
bind_cols(
17611761
predict(rf_cls_fit, data_test),
1762-
predict(rf_cls_fit, data_test, type = "prob")
1762+
predict(rf_cls_fit, data_test, type = "prob"),
17631763
predict(rf_cls_fit, data_test, type = "conf_int")
17641764
)
17651765
```
@@ -1775,7 +1775,7 @@ The following examples use consistent data sets throughout. For regression, we u
17751775

17761776
```{r}
17771777
grf_quant_spec <-
1778-
linear_reg() |>
1778+
rand_forest() |>
17791779
set_engine("grf") |>
17801780
set_mode("quantile regression", quantile_levels = (1:3) / 4)
17811781
grf_quant_spec

0 commit comments

Comments
 (0)