Skip to content

Commit

Permalink
fix for #381
Browse files Browse the repository at this point in the history
  • Loading branch information
hfrick committed Feb 14, 2025
1 parent ffe480d commit 44802c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# dials (development version)

* `regularization_factor()` is now exclusive of the lower border 0 in compliance with `ranger::ranger()` (#381).


# dials 1.4.0

* For space-filling designs for $p$ parameters, there is a higher likelihood of finding a space-filling design for `1 < size <= p`. Also, single-point designs now default to a random grid (#363).
Expand Down
2 changes: 1 addition & 1 deletion R/param_engine_ranger.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ regularization_factor <- function(range = c(0, 1), trans = NULL) {
new_quant_param(
type = "double",
range = range,
inclusive = c(TRUE, TRUE),
inclusive = c(FALSE, TRUE),
trans = trans,
label = c(regularization_factor = "Gain Penalization"),
finalize = NULL
Expand Down

0 comments on commit 44802c5

Please sign in to comment.