-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
survival_prob_orsf()
should take a parnip model
#283
Comments
I mean it this time.
* modify tests for version 1.1.2 * parsnip object in survival_prob; see #283 * require version 0.1.2 or higher * use remote to get aorsf * use parsnip obj in example * update docs w/aorsf example * modify tests for version 0.1.2 * parsnip object in survival_prob; see #283 * require version 0.1.2 or higher * use remote to get aorsf * use parsnip obj in example * update docs w/aorsf example * revert changes for #283 * fix predict call predict() uses direct args for aorsf's predict function here, so I reverted back to using object$fit * revert my changes for #283 I mean it this time. * forgot to update docs * make tests version-agnostic --------- Co-authored-by: Hannah Frick <[email protected]>
I had my glmnet googles on when I opened that issue: the functions for coxnet models are the only ones that take a parsnip model fit rather than an engine fit. Nonetheless, that's an inconsistency. Closing this issue in favor of #295 for a holistic view of the problem. |
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. |
The other
survival_prob_*()
functions all take anobject
of classmodel_fit
whilesurvival_prob_orsf()
takes an object that's the engine fit, i.e., of class"orsf"
. For consistency, this should also be a parsnip model.The text was updated successfully, but these errors were encountered: