Internal function for survsrf_tune(), performs 1 CV
survsrf_tune_single(
df_tune,
predict.factors,
fixed_time = NaN,
grid_hyperparams = c(),
inner_cv = 3,
randomseed = NaN,
progressbar = FALSE
)
output=list(grid, cindex, cindex_mean)
data
list of predictor names
predictions for which time are computed for c-index
hyperparameters grid (or a default will be used )
number of folds for each CV
randomseed
FALSE(default)/TRUE