Description Details Dictionary Super classes Methods References See Also Examples
A mlr3proba::LearnerSurv implementing survfit
from package
survival.
Calls survival::survfit()
.
distr
is predicted by estimating the cumulative hazard function from survival::survfit()
.
crank
is predicted as the expectation of distr
This Learner can be instantiated via the dictionary
mlr_learners or with the associated sugar function lrn()
:
1 2 | mlr_learners$get("surv.nelson")
lrn("surv.nelson")
|
mlr3::Learner
-> mlr3proba::LearnerSurv
-> LearnerSurvNelson
new()
Creates a new instance of this R6 class.
LearnerSurvNelson$new()
clone()
The objects of this class are cloneable with this method.
LearnerSurvNelson$clone(deep = FALSE)
deep
Whether to make a deep clone.
Nelson W (1969). Hazard Plotting for Incomplete Failure Data. Journal of Quality Technology, 1(1), 27–52. doi: 10.1080/00224065.1969.11980344.
Nelson, W. (1972). Theory and Applications of Hazard Plotting for Censored Failure Data. Technometrics, 14(4), 945–966.
Aalen, O. (1978). Nonparametric Inference for a Family of Counting Processes. The Annals of Statistics, 6(4), 701–726.
Dictionary of Learners: mlr3::mlr_learners
1 2 3 4 5 6 7 | if (requireNamespace("survival")) {
learner = mlr3::lrn("surv.nelson")
print(learner)
# available parameters:
learner$param_set$ids()
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.