transition_ratio_grow | R Documentation |
Transition probability of going to the candidate tree, given that the action step was a grow
transition_ratio_grow(tree, current_node, p_vars, current_selec_var, p_grow, i)
tree |
The current tree |
current_node |
The current node |
p_vars |
The number of predictors still available |
current_selec_var |
The variable selected for the split |
p_grow |
The probability of growing the tree |
i |
The current iteration |
When transitioning to a grow, we need the probabilities of: 1. Growing the tree 2. Growing from the specific node, that has to consider the available predictors and available values for that grow. When transitioning from a grow back to the split, we need the probabilities of: 1. Pruning the tree 2. Selecting node to prune
The transition ratio
Bruna Wundervald, brunadaviesw@gmail.com.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.