In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

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
19 - Altair
19 - Altair

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
Top Solution Authors