Skip to content

Pretty tree: prune branches with identical prediction #8

@mathias-brandewinder

Description

@mathias-brandewinder

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions