Skip to content

Commit

Permalink
test: mp fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
b-zhou committed Oct 7, 2024
1 parent e6f0311 commit d7b461a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test_visualization.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ test_that("marginal plot works", {
marginal_plot(learner_glmnet$instance, x = "glmnet.alpha", y = "glmnet.s")
)
vdiffr::expect_doppelganger(
"mp-numeric-numeric",
"mp-numeric-numeric2",
marginal_plot(learner_glmnet$instance, x = "glmnet.s", y = "glmnet.alpha")
)

Expand Down Expand Up @@ -107,7 +107,7 @@ test_that("marginal plot accepts params on different branches", {
terminator = trm("evals", n_evals = 6)
)
learner$train(task)
expect_doppelganger(
vdiffr::expect_doppelganger(
"mp-different-branches",
marginal_plot(learner$instance, x = "kknn.distance", y = "svm.cost")
)
Expand All @@ -129,7 +129,7 @@ test_that("marginal plot handles dependence", {
learner_svm$train(task)
vdiffr::expect_doppelganger(
"mp-dependence",
marginal_plot(learner$instance, x = "svm.kernel", y = "svm.degree")
marginal_plot(learner_svm$instance, x = "svm.kernel", y = "svm.degree")
)
})

Expand Down

0 comments on commit d7b461a

Please sign in to comment.