How to specify the exact number of leaf (terminal) nodes in Regression Tree
조회 수: 2 (최근 30일)
이전 댓글 표시
How do Ifit a regression tree to my data (10 variables X1 to X10), 100-observations, each obs has Y-repsonse value) with a set number of leafs (aka terminal nodes)?
I tried to use fitrtree (X,Y) but I could not find option to define # of leafs (e.g. 5 or 10).
Thank you.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Classification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!