Skip to content

Commit 78116dc

Browse files
authored
Error in parsnip tunable information for brulee (#1279)
* wrong dials objects * wrong dials objects
1 parent fbcd3eb commit 78116dc

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# parsnip (development version)
22

3+
* Bug fix in how tunable parameters were configured for brulee neural networks.
4+
35
# parsnip 1.3.2
46

57
* Switch to base R pipe

R/tunable.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ brulee_mlp_args <-
228228
list(pkg = "dials", fun = "learn_rate", range = c(-3, -1/5)),
229229
list(pkg = "dials", fun = "momentum", range = c(0.50, 0.95)),
230230
list(pkg = "dials", fun = "batch_size"),
231-
list(pkg = "dials", fun = "stop_iter"),
232231
list(pkg = "dials", fun = "class_weights"),
232+
list(pkg = "dials", fun = "stop_iter"),
233233
list(pkg = "dials", fun = "rate_schedule", values = tune_sched)
234234
)
235235
) |>

man/details_boost_tree_lightgbm.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)