Extracting decision split values from tree graph
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi All,
I am using treebagger for classification and plotted the tree graph. However, how do i extract/save values (766,4.35,2.11) from each node in the graph? Attached is the plot and below is my code:
Mdl= fitctree(Xtrain,Ytrain,'MaxNumSplits',4,'CrossVal','on');
view(Mdl.Trained{1},'Mode','graph')
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Classification Ensembles에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!