Description Details Dictionary Super classes Methods References See Also Examples
A mlr3proba::LearnerSurv implementing DeepHitSingle from Python package https://pypi.org/project/pycox/.
Calls pycox.models.DeepHitSingle
.
Custom nets can be used in this learner either using the build_pytorch_net utility function
or using torch
via reticulate. However note that the number of output channels
depends on the number of discretised time-points, i.e. the parameters cuts
or cutpoints
.
This Learner can be instantiated via the dictionary
mlr_learners or with the associated sugar function lrn()
:
1 2 | mlr_learners$get("surv.deephit")
lrn("surv.deephit")
|
mlr3::Learner
-> mlr3proba::LearnerSurv
-> LearnerSurvDeephit
new()
Creates a new instance of this R6 class.
LearnerSurvDeephit$new()
clone()
The objects of this class are cloneable with this method.
LearnerSurvDeephit$clone(deep = FALSE)
deep
Whether to make a deep clone.
Changhee Lee, William R Zame, Jinsung Yoon, and Mihaela van der Schaar. Deephit: A deep learning approach to survival analysis with competing risks. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018. http://medianetlab.ee.ucla.edu/papers/AAAI_2018_DeepHit
Dictionary of Learners: mlr3::mlr_learners
1 2 3 4 5 6 7 | if (requireNamespace("mlr3learners.pycox")) {
learner = mlr3::lrn("surv.deephit")
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.