Classification regression tree structure
2 views (last 30 days)
Show older comments
Has anyone used
clasregtree
function to build a tree with numerical responses (Y)? If yes then any idea how the means (Y bar) at each leaf (terminal nodes) is calculated?
Thanks
0 Comments
Answers (1)
the cyclist
on 13 Aug 2014
Have you tried reading the documentation?
doc classregtree
or looking at the code?
edit classregtree
4 Comments
the cyclist
on 20 Aug 2014
Edited: the cyclist
on 20 Aug 2014
Where you first call classregtree, you should be able to set a breakpoint, and then step through the function line-by-line to see the values all variables during the calculation.
See Also
Categories
Find more on Regression Trees in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!