| new_tree_summary | R Documentation |
Creates a tree_summary object with validation
new_tree_summary(
children_left,
children_right,
feature,
feature_uniq,
threshold,
max_depth,
sample_weight,
init_prediction,
node_count,
default_left = NULL,
xgboost_split = FALSE
)
children_left |
Integer vector of left child indices |
children_right |
Integer vector of right child indices |
feature |
Integer vector of feature indices |
feature_uniq |
Integer vector of unique feature indices used in tree |
threshold |
Numeric vector of threshold values |
max_depth |
Integer maximum depth |
sample_weight |
Numeric vector of sample weights per node |
init_prediction |
Numeric vector of initial predictions per node |
node_count |
Integer total number of nodes |
default_left |
Logical vector indicating the missing-value direction. |
xgboost_split |
Logical; use XGBoost float32 strict-less routing. |
An object of class tree_summary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.