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
survsrfens_train(
df_train,
predict.factors,
fixed_time = NaN,
inner_cv = 3,
randomseed = NaN,
tuningparams = list(),
useCoxLasso = FALSE,
max_grid_size = 10,
var_importance_calc = FALSE,
verbose = FALSE
)
trained object of class survsrf_ens
data, "time" and "event" should describe survival outcome
list of predictor names
time at which performance is maximized
number of cross-validation folds for hyperparameters' tuning
random seed to control tuning including data splits
if given, list of hyperparameters, list(mtry=c(), nodedepth=c(),nodesize=c()), otherwise a wide default grid is used
if CoxLasso is used (TRUE) or not (FALSE, default)
number of random grid searches for model tuning
if variable importance is computed
FALSE (default)/TRUE