Classification regression tree structure
이전 댓글 표시
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
답변 (1개)
the cyclist
2014년 8월 13일
Have you tried reading the documentation?
doc classregtree
or looking at the code?
edit classregtree
댓글 수: 4
Sincloe Brans
2014년 8월 13일
the cyclist
2014년 8월 13일
I don't know the function well. Are the means a standard output of the function? If so, then you should be able to trace the name of the output variable backward through the function, to see how it is calculated.
Sincloe Brans
2014년 8월 19일
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.
카테고리
도움말 센터 및 File Exchange에서 Analysis of Variance and Covariance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!