Reputation: 173
Is there any way I can plot the rules obtained from a Cubist model in a decision tree format? I can visualize the rules in text format (in console) by viewing the model summary, but I am unable to obtain a graphical tree presentation of the same. I have tried using "partykit" , "rattle" , "Rgraphviz" and "Rweka" packages
Upvotes: 2
Views: 526
Reputation: 61
I had the same problem - and didn't succeed. Since cubist is originally written in C and the R library simply returns the output captured from the C code (see https://cran.r-project.org/web/packages/Cubist/Cubist.pdf, page 3), I am pretty sure that plotting routines from other R libraries won't work.
Hence, I only see these solutions:
Upvotes: 1