Git Product home page Git Product logo

Comments (6)

mnwright avatar mnwright commented on July 27, 2024

We have currently no plans to implement support for time-varying covariates.
However, it would be great to have that feature! Do you have ideas how to implement this? You are very welcome to contribute the feature to ranger.

from ranger.

 avatar commented on July 27, 2024

It would be a great enhancement. Are u aware of any R package of rsf that deals with time dependent covariates?

from ranger.

mnwright avatar mnwright commented on July 27, 2024

No, unfortunately not.

from ranger.

IyarLin avatar IyarLin commented on July 27, 2024

Cox proportional hazards model fitted with the coxph function from survival package can deal with time varying coefficients. See this really neat vignette on the subject: https://cran.r-project.org/web/packages/survival/vignettes/timedep.pdf

from ranger.

Niccolo-Ajroldi avatar Niccolo-Ajroldi commented on July 27, 2024

It would be a great enhancement. Are u aware of any R package of rsf that deals with time dependent covariates?

R package LTRCforests does implement Random-Survival-Forest with time-varyng covariates.

from ranger.

bikeactuary avatar bikeactuary commented on July 27, 2024

LTRC does not include multi-core processing.
+1 on needing this feature 6 years later. Minimally I think all would be needed is

  1. support for the 'counting process' form of Surv objects [formula = Surv(start, end, status, type = "counting") ~ .]
    a. This currently throws 'Error: Competing risks not supported yet. Use status=1 for events and status=0 for censoring.'
  2. optionally, provide arguments to specify groups or id's for subsampling, cross-validation. Subjects should be assigned to the same grouping. The case weights in ranger could be used for obtaining the holdout sample (on user to correctly allocate all records of each subject to only train or hold partitions).

from ranger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.