Charon icon indicating copy to clipboard operation
Charon copied to clipboard

Pretty tree: prune branches with identical prediction

Open mathias-brandewinder opened this issue 10 years ago • 0 comments

The current Pretty Tree sometimes keeps searching and rendering branches, although every single Leaf (for instance) has the same default outcome [see for instance the Tree obtained on Titanic with Sex, Class]. Having a "compact" Tree pruning the "uninformative" branches (i.e. branches where every single Leaf has the same prediction) would make for a more readable output.

mathias-brandewinder avatar Jul 20 '14 19:07 mathias-brandewinder