Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pretty tree: prune branches with identical prediction #8

Open
mathias-brandewinder opened this issue Jul 20, 2014 · 0 comments
Open

Comments

@mathias-brandewinder
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant