How to access the variable range for leaf node in decision tree
조회 수: 3 (최근 30일)
이전 댓글 표시
I want to access the variable range for each of the leaf node for the decision tree that is created by using classregtree. I can see the variable range in the figure generated by view(), but I want to access the range from the code.
Thank you!
댓글 수: 0
채택된 답변
추가 답변 (1개)
Madhur
2015년 1월 13일
I am trying to access the indices of samples in the training data which belong to a particular leaf node in the tree. I suspect these two problems might be related. Can you shed some light on how did you obtain the variable range for leaf nodes using code ?
Thanks Madhur
댓글 수: 1
Vasileios Sevetlidis
2015년 9월 26일
Did you find a way to make it possible through code? I am interested in using the leaf values as well.
thank you!
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!