mlr_learners_surv.coxph | R Documentation |
Calls survival::coxph()
.
lp is predicted by survival::predict.coxph()
distr is predicted by survival::survfit.coxph()
crank
is identical to lp
This Learner can be instantiated via the dictionary mlr_learners or with the associated sugar function lrn():
LearnerSurvCoxPH$new() mlr_learners$get("surv.coxph") lrn("surv.coxph")
Task type: “surv”
Predict Types: “crank”, “distr”, “lp”
Feature Types: “logical”, “integer”, “numeric”, “factor”
Id | Type | Default | Levels | Range |
ties | character | efron | efron, breslow, exact | - |
singular.ok | logical | TRUE | TRUE, FALSE | - |
type | character | efron | efron, aalen, kalbfleisch-prentice | - |
stype | integer | 2 | [1, 2] |
|
mlr3::Learner
-> mlr3proba::LearnerSurv
-> LearnerSurvCoxPH
new()
Creates a new instance of this R6 class.
LearnerSurvCoxPH$new()
clone()
The objects of this class are cloneable with this method.
LearnerSurvCoxPH$clone(deep = FALSE)
deep
Whether to make a deep clone.
Cox DR (1972). “Regression Models and Life-Tables.” Journal of the Royal Statistical Society: Series B (Methodological), 34(2), 187–202. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1111/j.2517-6161.1972.tb00899.x")}.
Other survival learners:
mlr_learners_surv.kaplan
,
mlr_learners_surv.rpart
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.