Skip to content

Commit

Permalink
fixed ibrier measure (#2425)
Browse files Browse the repository at this point in the history
* fixed ibrier measure

* Changed F to FALSE
  • Loading branch information
IyarLin authored and larskotthoff committed Aug 28, 2018
1 parent 93d3d3e commit e9e80df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/measures.R
Original file line number Diff line number Diff line change
Expand Up @@ -1429,9 +1429,9 @@ ibrier = makeMeasure(id = "ibrier", minimize = TRUE, best = 0, worst = 1,

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


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

0 comments on commit e9e80df

Please sign in to comment.