Skip to content

Commit e1ab929

Browse files
committed
update tests
1 parent 23c9c4d commit e1ab929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test_FilterUnivariateCox.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test_that("FilterUnivariateCox", {
2424
l = lrn("surv.coxph")
2525
t$col_roles$feature = "sex"
2626
l$train(t)
27-
manual_score = -log(summary(l$model)$coefficients[,"Pr(>|z|)"])
27+
manual_score = -log10(summary(l$model)$coefficients[,"Pr(>|z|)"])
2828

2929
# for 2-level factors, same result is returned if 0-1 encoded
3030
expect_equal(manual_score, score)

0 commit comments

Comments
 (0)