View source: R/sim_surv_tree.R
sim_surv_tree | R Documentation |
This function allows you to find risk level automatically with xgbor lgb object.
sim_surv_tree(model, x_data, y_data, top_nc = NULL, maxdp = NULL, cp = NULL)
model |
lightgbm model object |
x_data |
X data set |
y_data |
Y data set |
top_nc |
numbers of top features selected |
maxdp |
max depth for rpart tree |
cp |
complexity param for rpart tree |
a list contains 1.rpart tree;2.ctree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.