Compare two trees generated using same classes but different attributes in each case

Hi,
I wanted to know if there is a straight forward way of comparing the splits and nodes on two trees that have been generated using two sets of attributes on the same classes (one attribute set is a subset of the other one).
I am using the classregtree classification.

 Accepted Answer

There may be a straightforward way, but it is up to you to define criteria for such a comparison. Here is a list of all tree methods:
Methods whose names start with "cut" and "node" would be a good place to start.

More Answers (0)

Categories

Asked:

on 9 Oct 2011

Commented:

on 13 Apr 2022

Community Treasure Hunt

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

Start Hunting!