How can I display the nodesizes, nodeerrors etc in a classification tree that was fitted with classificationtree.fit ?
显示 更早的评论
I have fitted a classification tree and I want to calculate the nodesizes, the nodeerror and the node probabilities (I am only interested in the terminal nodes). I have found those functions for the function classregtree but not for classificationtree.fit...I hope some of you can help me
回答(1 个)
Ilya
2012-7-20
0 个投票
Type 'help ClassificationTree' (or 'doc ClassificationTree'). You will see all methods and properties of a ClassificationTree object returned by ClassificationTree.fit.
类别
在 帮助中心 和 File Exchange 中查找有关 Classification Ensembles 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!