Description Usage Arguments Value
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.
1 2 |
form |
survival formula |
dat |
data frame |
predict.times |
survival prediction times |
trControl |
list of control parameters:
|
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 |
returns a list with items:
finalModel: final model trained on the complete data (dat) using optimal tuning paramters
fitted: predictions on complete data (dat)
threshold: optimal classification threshold
resamples: cross-validation results: predictions on resampled data
predict.times: survival prediction times
bestTune: optimal tuning parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.