We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af8ec5c commit 05792a6Copy full SHA for 05792a6
tests/testthat/test_Measure.R
@@ -358,15 +358,5 @@ test_that("obs_loss works", {
358
pred = learner$predict(task)
359
obs_loss = measure$obs_loss(pred)
360
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)
371
})
372
0 commit comments