You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On treeshap version 0.3.0, there is an error thrown by ranger_surv.unify, when type= "chf":
`unified_model_surv <- ranger_surv.unify(rf, train_x, times = c(23), type = "chf")
Error in ranger_surv.unify(rf, train_x, times = c(23), type = "chf") : times must be a numeric vector and argument type = 'survival' or type = 'chf' must be set.`
I believe there is some issue here:
stopifnot(`times` must be a numeric vector and argument \n `type = 'survival'` or `type = 'chf'` must be set. = ifelse(!is.null(times), is.numeric(times) && type == "survival", TRUE))
The text was updated successfully, but these errors were encountered:
On treeshap version 0.3.0, there is an error thrown by ranger_surv.unify, when type= "chf":
`unified_model_surv <- ranger_surv.unify(rf, train_x, times = c(23), type = "chf")
Error in ranger_surv.unify(rf, train_x, times = c(23), type = "chf") :
times
must be a numeric vector and argumenttype = 'survival'
ortype = 'chf'
must be set.`I believe there is some issue here:
stopifnot(
`times` must be a numeric vector and argument \n `type = 'survival'` or `type = 'chf'` must be set.= ifelse(!is.null(times), is.numeric(times) && type == "survival", TRUE))
The text was updated successfully, but these errors were encountered: