
Kaplan-Meier Estimator
mlr_learners_surv.kaplan.Rd
Calls survival::survfit()
.
During prediction, the survival function (distr
) is estimated using
survival::survfit()
, while the risk score (crank
) is calculated as the
sum of the cumulative hazard function (expected mortality).
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”
Feature Types: “logical”, “integer”, “numeric”, “character”, “factor”, “ordered”
Required Packages: mlr3, mlr3survival, survival
References
Kaplan EL, Meier P (1958). “Nonparametric Estimation from Incomplete Observations.” Journal of the American Statistical Association, 53(282), 457–481. doi:10.1080/01621459.1958.10501452 .
See also
Other survival learners:
mlr_learners_surv.coxph
Super classes
mlr3::Learner
-> mlr3survival::LearnerSurv
-> LearnerSurvKaplan
Methods
Method importance()
All features have a score of 0
for this learner.
This method exists solely for compatibility with the mlr3
ecosystem,
as this learner is used as a fallback for other survival learners that
require an importance()
method.
Returns
Named numeric()
.
Method selected_features()
Selected features are always the empty set for this learner.
This method is implemented only for compatibility with the mlr3
API,
as this learner does not perform feature selection.