Skip to content

Commit

Permalink
[skip tests] new test files
Browse files Browse the repository at this point in the history
  • Loading branch information
martinju committed Sep 28, 2024
1 parent 33301c3 commit 0e4ba15
Show file tree
Hide file tree
Showing 32 changed files with 3 additions and 19 deletions.
16 changes: 0 additions & 16 deletions tests/testthat/_snaps/regular-output.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,22 +471,6 @@
2: 2 42.44 5.283 -6.046 -8.095 -2.7998 -2.222
3: 3 42.44 6.984 -20.837 -4.762 -0.1545 1.201

# output_lm_numeric_independence_more_batches

Code
(out <- code)
Message
Success with message:
max_n_coalitions is NULL or larger than or 2^n_features = 32,
and is therefore set to 2^n_features = 32.
Output
explain_id none Solar.R Wind Temp Month Day
<int> <num> <num> <num> <num> <num> <num>
1: 1 42.44 -4.537 8.269 17.517 -5.581 -3.066
2: 2 42.44 2.250 -3.345 -5.232 -5.581 -1.971
3: 3 42.44 3.708 -18.610 -1.440 -2.541 1.316

# output_lm_numeric_empirical_progress

Code
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified tests/testthat/_snaps/regular-output/output_lm_mixed_comb.rds
Binary file not shown.
Binary file modified tests/testthat/_snaps/regular-output/output_lm_mixed_ctree.rds
Binary file not shown.
Binary file not shown.
Binary file modified tests/testthat/_snaps/regular-output/output_lm_mixed_vaeac.rds
Binary file not shown.
Binary file modified tests/testthat/_snaps/regular-output/output_lm_numeric_comb1.rds
Binary file not shown.
Binary file modified tests/testthat/_snaps/regular-output/output_lm_numeric_comb2.rds
Binary file not shown.
Binary file modified tests/testthat/_snaps/regular-output/output_lm_numeric_comb3.rds
Binary file not shown.
Binary file not shown.
Binary file modified tests/testthat/_snaps/regular-output/output_lm_numeric_ctree.rds
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified tests/testthat/_snaps/regular-output/output_lm_numeric_vaeac.rds
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions tests/testthat/test-regular-output.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test_that("output_lm_numeric_independence_MSEv_Shapley_weights", {
x_explain = x_explain_numeric,
x_train = x_train_numeric,
approach = "independence",
prediction_zero = p0
prediction_zero = p0,
MSEv_uniform_comb_weights = FALSE
),
"output_lm_numeric_independence_MSEv_Shapley_weights"
Expand Down Expand Up @@ -193,7 +193,7 @@ test_that("output_lm_categorical_vaeac", {
x_explain = x_explain_categorical,
x_train = x_train_categorical,
approach = "vaeac",
prediction_zero = p0
prediction_zero = p0,
n_MC_samples = 10, # Low value here to speed up the time
vaeac.epochs = 4, # Low value here to speed up the time
vaeac.n_vaeacs_initialize = 2, # Low value here to speed up the time
Expand Down Expand Up @@ -542,7 +542,7 @@ test_that("output_lm_numeric_independence_keep_samp_for_vS", {
x_explain = x_explain_numeric,
x_train = x_train_numeric,
approach = "independence",
prediction_zero = p0
prediction_zero = p0,
keep_samp_for_vS = TRUE
)),
"output_lm_numeric_independence_keep_samp_for_vS"
Expand Down

0 comments on commit 0e4ba15

Please sign in to comment.