A LearnerSurv for a Flexible Parametric Spline model partially implemented in flexsurv::flexsurvspline() in package flexsurv.

Format

R6::R6Class inheriting from LearnerSurv.

Details

The predict method is based on flexsurv::summary.flexsurvreg() but adapts the return type to be compatible with distr6.

Construction

LearnerSurvFlexible$new()
mlr_learners$get("surv.flexible")
lrn("surv.flexible")

References

Royston, P. and Parmar, M. (2002). Flexible parametric proportional-hazards and proportional-odds models for censored survival data, with application to prognostic modelling and estimation of treatment effects. Statistics in Medicine, 21(15), 2175-2197. doi: 10.1002/sim.1203 .

See also