Skip to content

Commit

Permalink
Test resampling
Browse files Browse the repository at this point in the history
  • Loading branch information
fouodo committed Nov 7, 2024
1 parent 436cea7 commit c0b0543
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testthat/test-Training.R
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ test_that("Training: all tests", {
disease <- training$getTargetValues()$disease
})


no_resampling <- capture_warning(
training$train(use_var_sel = TRUE)
)
three_warning <- capture_warnings(
trained <- training$train(resampling_method = "caret::createFolds",
resampling_arg = list(y = disease,
Expand Down

0 comments on commit c0b0543

Please sign in to comment.