jayswinney / decision_tree_ploting

plot a decision tree from sklearn without graphviz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decision Tree Plotting

I made this because I wanted to be able to plot decision trees from sklearn with tools like matplotlib and bokeh.

Vocabulary

In the code I refer to right distance and left distance of a node. The right distance is how far out to the right the children of a node extend. These measures are used to help determine where to place a node so its branches do not overlap.

About

plot a decision tree from sklearn without graphviz


Languages

Language:HTML 99.5%Language:Python 0.5%