Skip to content

Commit e9e80df

Browse files
IyarLinlarskotthoff
authored andcommitted
fixed ibrier measure (#2425)
* fixed ibrier measure * Changed F to FALSE
1 parent 93d3d3e commit e9e80df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/measures.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,9 +1429,9 @@ ibrier = makeMeasure(id = "ibrier", minimize = TRUE, best = 0, worst = 1,
14291429

14301430
probs = predictSurvProb(getLearnerModel(model, more.unwrap = TRUE), newdata = newdata, times = grid)
14311431
perror = pec(probs, f, data = newdata[, tn], times = grid, exact = FALSE, exactness = 99L,
1432-
maxtime = max.time, verbose = FALSE)
1432+
maxtime = max.time, verbose = FALSE, reference = FALSE)
1433+
14331434

1434-
# FIXME: what is the difference between reference and matrix?
14351435
# FIXME: this might be the wrong number!
14361436
crps(perror, times = max.time)[1L, ]
14371437
},

0 commit comments

Comments
 (0)