Pybaobab – Python implementation of visualization technique for decision trees
gitlab.tue.nl
gitlab.tue.nl
It's not an uncommon problem that you're faced with needing to make a series of decisions in a business environment and old-school decision trees give a remarkably clear, readable output of the optimal way to make these decisions in as few choices as possible.
Any data scientists working on teams with call centers, sales teams or customer support people would likely find a surprisingly useful application of this mostly forgotten (other than a building block for RFs) tool.
The visualization looks great, though it did suffer visualizing the Random Forest. I could see using it for a single Decision Tree to convey the data's structure. Definitely going to use it for any DT slides I have to make.
A spreadsheet-like printed table where you mark items and sum scores in your head is probably easier to follow than a similarly-powered decision tree. Of course, you can't guarantee that a linear decision boundary exists, but in case there is one, the standard tools (Gauss-Markov/FWL theorems, p-values, etc.) are much, much more robust than CART or C4.5.
The strange part was when the doctor showed me the tree and asked me if I agreed... My response was "You're the doctor, you tell me?!"