I am trying to visualize decision tree structure in pyspark. But all the tools are for data. I could not find any for visualizing tree structure. Or is there a way I can visualize using the rules from toDebugString
?
I have tried to do the following in order to create a visualization :
JSON
format.JSON
file as an input to a D3.js
visualization.For more code you can refer to my prototype at GitHub here.