
Cox Proportional Hazards
mlr_learners_surv.coxph.Rd
Calls survival::coxph()
during training.
During prediction, the linear predictor is estimated using survival::predict.coxph()
while the survival distribution using the Breslow estimator using survival::survfit.coxph()
Dictionary
This Learner can be instantiated via the dictionary mlr_learners or with the associated sugar function lrn():
Meta Information
Task type: “surv”
Predict Types: “crank”, “distr”, “lp”
Feature Types: “logical”, “integer”, “numeric”, “factor”
Required Packages: mlr3, mlr3survival, survival
Parameters
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]\) |
References
Cox DR (1972). “Regression Models and Life-Tables.” Journal of the Royal Statistical Society: Series B (Methodological), 34(2), 187–202. doi:10.1111/j.2517-6161.1972.tb00899.x .
See also
Other survival learners:
mlr_learners_surv.kaplan
Super classes
mlr3::Learner
-> mlr3survival::LearnerSurv
-> LearnerSurvCoxPH