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

1 view (last 30 days)
Ines
Ines on 20 Jul 2012
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

Answers (1)

Ilya
Ilya on 20 Jul 2012
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!