Decision Tree : Custom CTREE Plot

Suppose you want to change a look of default decision tree generated by CTREE function in the party package.
Decision Tree Custom Ctree Plot
library(party)
t1.prior = ctree(Creditability ~ . , data = train)
plot(t1.prior, type="simple", inner_panel=node_inner(t1.prior,abbreviate = FALSE, pval = TRUE, id = FALSE), terminal_panel=node_terminal(t1.prior, abbreviate = FALSE, digits = 2, fill = c("white"),id = FALSE))
Spread the Word!
Share
Related Posts
About Author:

Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 10 years of experience in data science. During his tenure, he has worked with global clients in various domains like Banking, Insurance, Private Equity, Telecom and Human Resource.

1 Response to "Decision Tree : Custom CTREE Plot"
  1. You can likewise discover DVDs and recordings for model vehicle packs that will portray the whole structure process.Model car decals

    ReplyDelete

Next → ← Prev

Looks like you are using an ad blocker!

To continue reading you need to turnoff adblocker and refresh the page. We rely on advertising to help fund our site. Please whitelist us if you enjoy our content.