Skip to content

Commit

Permalink
Changed to n_batches = 10 in the combined approaches, as the previo…
Browse files Browse the repository at this point in the history
…us value (`n_batches = 1`) is not allowed anymore as it is lower than the number of unique used approaches.
  • Loading branch information
LHBO committed Sep 12, 2023
1 parent 70f353f commit e0d925d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/test-output.R
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ test_that("output_lm_numeric_comb1", {
x_train = x_train_numeric,
approach = c("gaussian", "empirical", "ctree", "independence", "empirical"),
prediction_zero = p0,
n_batches = 1,
n_batches = 10,
timing = FALSE
),
"output_lm_numeric_comb1"
Expand All @@ -228,7 +228,7 @@ test_that("output_lm_numeric_comb2", {
x_train = x_train_numeric,
approach = c("ctree", "copula", "independence", "copula", "empirical"),
prediction_zero = p0,
n_batches = 1,
n_batches = 10,
timing = FALSE
),
"output_lm_numeric_comb2"
Expand All @@ -243,7 +243,7 @@ test_that("output_lm_numeric_comb3", {
x_train = x_train_numeric,
approach = c("independence", "empirical", "gaussian", "empirical", "gaussian"),
prediction_zero = p0,
n_batches = 1,
n_batches = 10,
timing = FALSE
),
"output_lm_numeric_comb3"
Expand Down Expand Up @@ -292,7 +292,7 @@ test_that("output_lm_mixed_comb", {
x_train = x_train_mixed,
approach = c("ctree", "independence", "ctree", "independence", "independence"),
prediction_zero = p0,
n_batches = 1,
n_batches = 10,
timing = FALSE
),
"output_lm_mixed_comb"
Expand Down

0 comments on commit e0d925d

Please sign in to comment.