-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
add parametric model from survivalmodels #345
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please first fix the issues in the CI, then I can look at it :)
Lmk if you have any specific questions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome 💯 Only one suggestion for a refactor, but not needed :) let me know if I should merge.
The failing CI is caused by mlr3cluster and will resolve itself eventually.
#' | ||
#' `lp` is predicted using the formula \eqn{lp = X\beta} where \eqn{X} are the variables in the test | ||
#' data set and \eqn{\beta} are the fitted coefficients. | ||
#' Three types of prediction are returned for this learner: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we want to generate this programmatically, i.e. something like r surv_predict_types("lp", "crank")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a good idea. Since I plan to go through all survival learners and chnage the prediction order (#331), I can see how many need that prediction info and refactor it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see #347
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or better a doc template?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both is fine, whatever works :)
@sebffischer good to merge now, just fixed some minor styling issues. |
Solves #41