How can I view the surrogate baranches

1 vue (au cours des 30 derniers jours)
Elena Casiraghi
Elena Casiraghi le 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!!!!

Réponses (0)

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by