Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
schalkdaniel committed Jan 8, 2019
1 parent 4a6d189 commit 9ddbc83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/testthat/test_AutoTuner.R
Expand Up @@ -24,12 +24,11 @@ test_that("AutoTuner", {
terminator = TerminatorEvaluations$new(inner_evals)

at = AutoTuner$new(learner, resampling, param_set, terminator, tuner = TunerRandomSearch,
tuner_settings = list(batch_size = 10L))
tuner_settings = list(batch_size = 10L))

# Nested Resampling:
outer_resampling = mlr3::mlr_resamplings$get("cv")
outer_resampling$param_vals = list(folds = outer_folds)
browser()
r = mlr3::resample(task, at, outer_resampling)

# Nested Resampling:
Expand Down

0 comments on commit 9ddbc83

Please sign in to comment.