R: Cox Proportional Hazards Survival Learner

mlr_learners_surv.coxph {mlr3proba} | R Documentation

## Cox Proportional Hazards Survival Learner

### Description

Calls `survival::coxph()`.

- lp is predicted by `survival::predict.coxph()`

- distr is predicted by `survival::survfit.coxph()`

- `crank` is identical to `lp`

### Dictionary

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

    LearnerSurvCoxPH$new()
    mlr_learners$get("surv.coxph")
    lrn("surv.coxph")

### Meta Information

- Type: "surv"

- Predict Types: `distr, crank, lp`

- Feature Types: `logical, integer, numeric, factor`

- Properties: `weights`

- Packages: survival distr6

### Super classes

`mlr3::Learner` -> `mlr3proba::LearnerSurv` -> `LearnerSurvCoxPH`

### Methods

#### Public methods

- `LearnerSurvCoxPH$new()`

- `LearnerSurvCoxPH$clone()`

Inherited methods

- `mlr3::Learner$format()`

- `mlr3::Learner$help()`

- `mlr3::Learner$predict()`

- `mlr3::Learner$predict_newdata()`

- `mlr3::Learner$print()`

- `mlr3::Learner$reset()`

- `mlr3::Learner$train()`

#### Method `new()`

Creates a new instance of this R6 class.

##### Usage

    LearnerSurvCoxPH$new()

#### Method `clone()`

The objects of this class are cloneable with this method.

##### Usage

    LearnerSurvCoxPH$clone(deep = FALSE)

##### Arguments

`deep`

  Whether to make a deep clone.

### References

Cox DR (1972). “Regression Models and Life-Tables.” Journal of the Royal Statistical Society: Series B (Methodological), 34(2), 187–202. doi: 10.1111/j.2517-6161.1972.tb00899.x.

### See Also

Other survival learners: `mlr_learners_surv.kaplan`, `mlr_learners_surv.rpart`

[Package mlr3proba version 0.3.2 Index]