I am currently running a survival benchmark using mlr3proba and when computing the Graf score with p_max=0.9, I have the following error on the smallest of my datasets (35 individuals):
Error in if (any(mtc==0)) { : missing value where TRUE/FALSE needed
From my explorations, it seems to happen after a certain threshold when augmenting p_max value (in my case this threshold seems to be close to 0.75), but I also observed it on larger datasets, with higher thresholds (.99 with n=419).
As a side effects, this prevents from using p_max=1, which I believe should run even if it is a bit absurd.
While checking the versions I used, I found the source of the problem, I was using the previous version of mlr3proba (0.6.0) and the bug is solved in the current version.
Sorry for opening this issue.
Hello,
I am currently running a survival benchmark using
mlr3proba
and when computing the Graf score withp_max=0.9
, I have the following error on the smallest of my datasets (35 individuals):From my explorations, it seems to happen after a certain threshold when augmenting
p_max
value (in my case this threshold seems to be close to 0.75), but I also observed it on larger datasets, with higher thresholds (.99
with n=419). As a side effects, this prevents from usingp_max=1
, which I believe should run even if it is a bit absurd.I replicated the error using the following code:
toy_example.csv toy_example_larger.csv
Thanks for reading this, I hope I haven't misunderstood the doc while trying to use
p_max
Edit: I am using R 4.3.2 and mlr3proba 0.6.0