| extract_terminal_nodes | R Documentation |
Returns a data.frame with n_obs rows and n_trees
columns where each cell is the terminal-node index assigned to that
observation by that tree.
extract_terminal_nodes(ensemble, data)
ensemble |
A trained ensemble model. |
data |
A |
A data.frame with n_obs rows and n_trees columns
of integer terminal-node identifiers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.