Skip to content

Commit 44802c5

Browse files
committed
fix for #381
1 parent ffe480d commit 44802c5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

NEWS.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# dials (development version)
22

3+
* `regularization_factor()` is now exclusive of the lower border 0 in compliance with `ranger::ranger()` (#381).
4+
5+
36
# dials 1.4.0
47

58
* 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).

R/param_engine_ranger.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ regularization_factor <- function(range = c(0, 1), trans = NULL) {
2323
new_quant_param(
2424
type = "double",
2525
range = range,
26-
inclusive = c(TRUE, TRUE),
26+
inclusive = c(FALSE, TRUE),
2727
trans = trans,
2828
label = c(regularization_factor = "Gain Penalization"),
2929
finalize = NULL

0 commit comments

Comments
 (0)