Skip to content

Commit

Permalink
chore: temporarily disable binary/L2-numeric test for not-usefulness
Browse files Browse the repository at this point in the history
  • Loading branch information
jemus42 committed Dec 20, 2023
1 parent 8d78ca0 commit 07dc517
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/testthat/test-predict-binary.R
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ test_that("L2: Numeric prediction", {
bin_pred <- predict(bin_fit, new_data = xdat, type = "numeric")

expect_equal(dim(bin_pred), c(nrow(xdat), 1))
expect_gt(max(bin_pred$.pred), 1)
expect_lt(min(bin_pred$.pred), 0)
# TODO: More suitable test as part of test refactor
# expect_gt(max(bin_pred$.pred), 1)
# expect_lt(min(bin_pred$.pred), 0)
})

# L1 loss -----------------------------------------------------------------
Expand Down

0 comments on commit 07dc517

Please sign in to comment.