Details: the function trains Cox model, then adds its out-of-the-box predictions to Survival Random Forest as an additional predictor to mimic stacking procedure used in Machine Learning and reduce over-fitting. #' Cox model is fitted to .9 data to predict the rest .1 for each 1/10s fold; these out-of-the-bag predictions are passed on to SRF
survensemble_train(
df_train,
predict.factors,
fixed_time = NaN,
inner_cv = 3,
randomseed = NULL,
srf_tuning = list(),
fast_version = TRUE,
oob = TRUE,
useCoxLasso = FALSE,
var_importance_calc = 1
)
trained object of class survensemble
data, "time" and "event" describe survival outcome
list of the column names to be used as predictors
for which the performance is maximized
number of inner cycles for model tuning
random seed
list of mtry, nodedepth and nodesize, to use default supply empty list()
TRUE/FALSE, TRUE by default
FALSE/TRUE, TRUE by default
FALSE/TRUE, FALSE by default
FALSE/TRUE, TRUE by default