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
{{ message }}
Repository navigation
multi_predict(type = "survival") is missing penalty column for single penalty value #267
This currently doesn't work because survival_prob_coxnet() reconstructs multi from the length of the penalty, which does not allow us to specify multi = TRUEand a penalty with a single value.
The plan is to give survival_prob_coxnet() its own multi arg and call it directly from multi_predict(). We can't go through predict() as we do now because predict() won't let us pass the multi argument through. We will need to add to multi_predict() any checks on the type (and the like) that are carried out by predict().
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Activity
hfrick commentedon Dec 15, 2023
This currently doesn't work because
survival_prob_coxnet()reconstructsmultifrom the length of thepenalty, which does not allow us to specifymulti = TRUEand a penalty with a single value.The plan is to give
survival_prob_coxnet()its ownmultiarg and call it directly frommulti_predict(). We can't go throughpredict()as we do now becausepredict()won't let us pass themultiargument through. We will need to add tomulti_predict()any checks on thetype(and the like) that are carried out bypredict().github-actions commentedon Jan 18, 2024
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.