Classification regression tree structure
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
the cyclist
2014-8-13
Have you tried reading the documentation?
doc classregtree
or looking at the code?
edit classregtree
4 个评论
the cyclist
2014-8-20
编辑:the cyclist
2014-8-20
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Regression Trees 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!