How can I view the surrogate baranches

1 visualizzazione (ultimi 30 giorni)
Elena Casiraghi
Elena Casiraghi il 5 Mar 2020
Dear, I'm training a decision tree for classification with fitctree function and I'm using the oprion
'Surrogate', 1
mdl = fitctree(X,Y, 'Surrogate', 1)
so that at each brach a Surrogate is found in case of missing value.
When the tree is trained, with the view command
view(mdl, 'Mode', 'graph')
I may view the resulting tree.
However, in the tree I see one alternative.
How can I see the surrogate branch???
THANKS!!!!

Risposte (0)

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by