How can I display the nodesizes, nodeerrors etc in a classification tree that was fitted with classificationtree.fit ?

1 次查看(过去 30 天)
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
Ilya 2012-7-20
Type 'help ClassificationTree' (or 'doc ClassificationTree'). You will see all methods and properties of a ClassificationTree object returned by ClassificationTree.fit.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by