mlr_learners_surv.kaplan: Kaplan-Meier Estimator Survival Learner

mlr_learners_surv.kaplanR Documentation

Kaplan-Meier Estimator Survival Learner

Description

Calls survival::survfit().

  • distr is predicted by estimating the survival function with survival::survfit()

  • crank is predicted as the sum of the cumulative hazard function (expected mortality) derived from the survival distribution, distr

Dictionary

This Learner can be instantiated via the dictionary mlr_learners or with the associated sugar function lrn():

LearnerSurvKaplan$new()
mlr_learners$get("surv.kaplan")
lrn("surv.kaplan")

Meta Information

  • Task type: “surv”

  • Predict Types: “crank”, “distr”

  • Feature Types: “logical”, “integer”, “numeric”, “character”, “factor”, “ordered”

  • Required Packages: mlr3, mlr3proba, survival, distr6

Parameters

Empty ParamSet

Super classes

mlr3::Learner -> mlr3proba::LearnerSurv -> LearnerSurvKaplan

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage
LearnerSurvKaplan$new()

Method clone()

The objects of this class are cloneable with this method.

Usage
LearnerSurvKaplan$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

References

Kaplan EL, Meier P (1958). “Nonparametric Estimation from Incomplete Observations.” Journal of the American Statistical Association, 53(282), 457–481. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/01621459.1958.10501452")}.

See Also

Other survival learners: mlr_learners_surv.coxph, mlr_learners_surv.rpart


mlr-org/mlr3proba documentation built on April 12, 2025, 4:38 p.m.