edges_between_terminal_nodes {CaseBasedReasoning} | R Documentation |
Number of Edges between Terminal Nodes
Description
first two columns are terminal node IDs; If an ID pair do not appear in a tree -1 is inserted
Usage
edges_between_terminal_nodes(rfObject)
Arguments
rfObject |
|
Value
a matrix
object with pairwise terminal node edge length
Examples
require(ranger)
rf.fit <- ranger(Species ~ ., data = iris, num.trees = 5, write.forest = TRUE)
edges_between_terminal_nodes(rf.fit)
[Package CaseBasedReasoning version 0.3 Index]