Skip to content

Commit a992466

Browse files
authored
Merge pull request #224 from tidymodels/upkeep-latin-hypercube
`grid_latin_hypercube()` -> `grid_space_filling()`
2 parents 8d4e6a7 + e0599c4 commit a992466

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/testthat/test-mars-tuning.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ test_that("tuning for mars() -- submodels *and* no submodels", {
2424
)
2525

2626
set.seed(123)
27-
params_grid <- grid_latin_hypercube(
27+
params_grid <- grid_space_filling(
2828
num_terms() %>% range_set(c(1L, 12L)),
2929
prod_degree(),
3030
prune_method(values = c("backward", "none", "forward")),
31-
size = 7)
31+
size = 7,
32+
type = "latin_hypercube")
3233

3334
expect_equal(nrow(params_grid), 7)
3435

0 commit comments

Comments
 (0)