Skip to content

Commit

Permalink
Merge branch 'master' into sample_skip_bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mnwright committed Aug 13, 2024
2 parents b252e33 + fe89494 commit f3b1bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_regularization.R
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ test_that("Fewer variables used with regularization, survival extratrees", {
rf_noreg <- ranger(Surv(time, status) ~ ., dat_surv, num.trees = 5, min.node.size = 10, mtry = 4, splitrule = "extratrees")
rf_reg <- ranger(Surv(time, status) ~ ., dat_surv, num.trees = 5, min.node.size = 10, mtry = 4, splitrule = "extratrees", num.threads = 1,
regularization.factor = .0001, regularization.usedepth = TRUE)
expect_lt(get_num_splitvars(rf_reg),
expect_lte(get_num_splitvars(rf_reg),
get_num_splitvars(rf_noreg))
})

Expand Down

0 comments on commit f3b1bec

Please sign in to comment.