How to visualize decision tree model?

User 151 | 3/23/2016, 4:15:10 PM

Does GraphLab create have a way to plot the decision tree model? Something similar to R having rpart.plot().

It will be very good to visualize the generated trees.

Comments

User 15 | 3/23/2016, 6:05:33 PM

Yes, just call name_of_model.show(view='Tree'). It may be tough to view if you don't constrain the depth to something small...like 3 or 4.


User 151 | 3/24/2016, 5:45:25 PM

Thanks, it works.