How can I view the surrogate baranches

1 view (last 30 days)
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???

Answers (0)

Community Treasure Hunt

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

Start Hunting!