# NOT RUN {
data <- simulate_survival_cox(true_beta=c(1,1,1,1,1,0,0,0,0,0))
formula <- as.formula("Surv(time,delta) ~ strata(strata_idx) + V1 + V2 +
V3 + V4 + V5 + V6 + V7 + V8 + V9 + V10" )
boosting_core(formula, data, rate=0.1, num_iter=500)
boosting_core(formula, data, rate=0.1, control_method="num_selected",
control_parameter=list(num_select = 5))
# }
Run the code above in your browser using DataLab