Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

visualizing decision trees in random forest model

Hagar-Usama
8 - Asteroid

Hi,

 

Is it possible to generate a decision tree plot from a random forest model using Intelligent Suite or R predictive tools, similar to the 'export_graphviz' function in the 'sklearn.tree' module? [ref]

 

Thanks!

1 REPLY 1
alexnajm
17 - Castor
17 - Castor

You can do it with the Decision Tree model - check out the One Tool Example in Designer!

 

I don't think there's an equivalent for Random Forest, but you could use the Forest Model macro as the basis and add R code to it to create these plots! You may even be able to use the R code from the Decision Tree to help out.

visualizing decision trees in random forest model snap.PNG

Labels