Description Usage Arguments Value
Train the Cox model through cross-validation and select the optimal survival classification threshold. A regularized Cox approach which performs feature selection is also implemeted. For regularize cox, the optimal set of variables is selected through cross-validation and used to train the final model on the complete data
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.