How to plot/visualize a C50 decision tree in R?

mpg picture mpg · Jan 22, 2014 · Viewed 8.9k times · Source

I am using the C50 decision tree algorithm. I am able to build the tree and get the summaries, but cannot figure out how to plot or viz the tree.

My C50 model is called credit_model

In other decision tree packages, I usually use something like plot(credit_model). In rpart it is rpart.plot(credit_model).

What is the equivalent in the C50 algorithm to plot?

Answer

topepo picture topepo · Jan 22, 2014

Right now, there are none built in. I've been working on an adapter for the partykit package (e.g. as.party) but have not gotten very far.

Max