logicpro9999
Newbie level 5
How can I get the values and variables of nodes of a tree?
I create a tree with classregtree and want to find variables and values used in the
nodes.
tree1{t} = classregtree(rtrain_data,1:numofattr),rtrain_data,end),'method','classification','nvartosample',numofattr,'prune','off','mergeleaves','off');
I want to know what is in the nodes of this tree.
I create a tree with classregtree and want to find variables and values used in the
nodes.
tree1{t} = classregtree(rtrain_data,1:numofattr),rtrain_data,end),'method','classification','nvartosample',numofattr,'prune','off','mergeleaves','off');
I want to know what is in the nodes of this tree.