Skip to content

Commit e462c20

Browse files
committed
relax autotest C-index requirement
1 parent e5df62d commit e462c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/testthat/helper_autotest.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ registerS3method("generate_tasks", "LearnerSurv", generate_tasks.LearnerSurv)
5151

5252
sanity_check.PredictionSurv = function(prediction, ...) {
5353
# sanity check discrimination
54-
prediction$score() >= 0.6
54+
prediction$score() > 0.5
5555
}
5656
registerS3method("sanity_check", "PredictionSurv", sanity_check.PredictionSurv)
5757

0 commit comments

Comments
 (0)