Skip to content

Commit 05792a6

Browse files
committed
chore: test
1 parent af8ec5c commit 05792a6

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/testthat/test_Measure.R

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -358,15 +358,5 @@ test_that("obs_loss works", {
358358
pred = learner$predict(task)
359359
obs_loss = measure$obs_loss(pred)
360360
expect_numeric(obs_loss, len = task$nrow, any.missing = FALSE)
361-
362-
#
363-
learner = lrn("regr.rpart")
364-
task = tsk("mtcars")
365-
learner$train(task)
366-
measure = msr("classif.logloss")
367-
pred = learner$predict(task)
368-
obs_loss = measure$obs_loss(pred)
369-
measure$score(pred)
370-
expect_numeric(obs_loss, len = task$nrow, any.missing = FALSE)
371361
})
372362

0 commit comments

Comments
 (0)