RSF: RSF: Random Survival Forest

Description Usage Arguments Value

Description

Train the random survival forest through the ranger package. The optimal RSF tuning parameters: min.node.size,mtry, and splitrule can be selected through grid search.

Usage

1
2
train_RSF(form, dat, newdata = NULL, predict.times, trControl = NULL,
  seed = 123, parallel = FALSE, mc.cores = 2, ...)

Arguments

form

survival formula

dat

data frame

predict.times

survival prediction times

trControl

list of control parameters:

  1. ntrees: mumber of trees

  2. number: number of cross-validations

  3. tuneLength: tuning paramer grid size

  4. importance: ranger variable importance

parallel

run cross-validation in parallel? Uses mclapply which works only on linux

...

further arguments passed to caret or other methods.

tuneLength

same as tuneLength in the caret package

Value

returns a list with items:


nguforche/MLSurvival documentation built on July 28, 2019, 1:59 p.m.