Description Details Dictionary Super classes Methods References See Also Examples
A mlr3proba::LearnerSurv implementing penalized from package
penalized.
Calls penalized::penalized()
.
The penalized
and unpenalized
arguments in the learner are implemented slightly
differently than in penalized::penalized()
. Here, there is no parameter for penalized
but
instead it is assumed that every variable is penalized unless stated in the unpenalized
parameter, see examples.
This Learner can be instantiated via the dictionary
mlr_learners or with the associated sugar function lrn()
:
1 2 | mlr_learners$get("surv.penalized")
lrn("surv.penalized")
|
mlr3::Learner
-> mlr3proba::LearnerSurv
-> LearnerSurvPenalized
new()
Creates a new instance of this R6 class.
LearnerSurvPenalized$new()
clone()
The objects of this class are cloneable with this method.
LearnerSurvPenalized$clone(deep = FALSE)
deep
Whether to make a deep clone.
Goeman JJ (2009). “L1Penalized Estimation in the Cox Proportional Hazards Model.” Biometrical Journal doi: 10.1002/bimj.200900028.
Dictionary of Learners: mlr3::mlr_learners
1 2 3 4 5 6 7 | if (requireNamespace("penalized")) {
learner = mlr3::lrn("surv.penalized")
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.