Reading nodes of a tree in MATLAb

Status
Not open for further replies.

logicpro9999

Newbie level 5
Joined
Apr 3, 2010
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
turkey
Activity points
1,329
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.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…