How can I view the surrogate baranches

1 次查看(过去 30 天)
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!!!!

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by