Classification regression tree structure
조회 수: 1 (최근 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.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!