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

1 visualización (últimos 30 días)
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

Respuestas (1)

Ilya
Ilya el 20 de Jul. de 2012
Type 'help ClassificationTree' (or 'doc ClassificationTree'). You will see all methods and properties of a ClassificationTree object returned by ClassificationTree.fit.

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by