mlr_learners_surv.coxtime: Survival Cox-Time Learner

Description Dictionary Super classes Methods References See Also Examples

Description

A mlr3proba::LearnerSurv implementing Cox-Time from Python package https://pypi.org/project/pycox/.

Calls pycox.models.CoxTime.

Dictionary

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

1
2
mlr_learners$get("surv.coxtime")
lrn("surv.coxtime")

Super classes

mlr3::Learner -> mlr3proba::LearnerSurv -> LearnerSurvCoxtime

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage
LearnerSurvCoxtime$new()

Method clone()

The objects of this class are cloneable with this method.

Usage
LearnerSurvCoxtime$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

References

Kvamme, H., Borgan, Ø., & Scheel, I. (2019). Time-to-event prediction with neural networks and Cox regression. Journal of Machine Learning Research, 20(129), 1–30.

See Also

Dictionary of Learners: mlr3::mlr_learners

Examples

1
2
3
4
5
6
7
if (requireNamespace("mlr3learners.pycox")) {
  learner = mlr3::lrn("surv.coxtime")
  print(learner)

  # available parameters:
  learner$param_set$ids()
}

mlr3learners/mlr3learners.pycox documentation built on Sept. 24, 2020, 10:40 a.m.