Calls rpart::rpart()
.
crank is predicted using rpart::predict.rpart()
Parameter xval
is set to 0 in order to save some computation time.
Parameter model
has been renamed to keep_model
.
This Learner can be instantiated via the dictionary mlr_learners or with the associated sugar function lrn():
LearnerSurvRpart$new() mlr_learners$get("surv.rpart") lrn("surv.rpart")
Type: "surv"
Predict Types: crank, distr
Feature Types: logical, integer, numeric, character, factor, ordered
Properties: importance, missings, selected_features, weights
Packages: mlr3 mlr3proba rpart distr6 survival
mlr3::Learner
-> mlr3proba::LearnerSurv
-> LearnerSurvRpart
new()
Creates a new instance of this R6 class.
LearnerSurvRpart$new()
importance()
The importance scores are extracted from the model slot variable.importance
.
LearnerSurvRpart$importance()
Named numeric()
.
selected_features()
Selected features are extracted from the model slot frame$var
.
LearnerSurvRpart$selected_features()
character()
.
clone()
The objects of this class are cloneable with this method.
LearnerSurvRpart$clone(deep = FALSE)
deep
Whether to make a deep clone.
Breiman L, Friedman JH, Olshen RA, Stone CJ (1984). Classification And Regression Trees. Routledge. 10.1201/9781315139470.
Other survival learners:
mlr_learners_surv.coxph
,
mlr_learners_surv.kaplan