How to select the optimal/best tree from the collection of trees generated by Random Forest?
hsanchez
New Altair Community Member
I have a process that utilizes three random forest algorithms each using different parameters. I use the operator collect and compare models to select the best of the three learners. However, I would like to know which of the collection of trees was chosen by the random forest learner; hence I can use that tree to explain my finding. I know I can use simulation operator, prescriptive analytics, but I need the best tree from the collection of the random forest best learner. Can anyone give me a clue? Thank you
Tagged:
0
Best Answer
-
thanks I got it.0
Answers
-
Hi @hsanchez ,a random forest uses the average prediction of all these trees. Thats the trick of a RF.Best,Martin1
-
Hi,well, but then you essentially do a decision tree (or better random tree). The problem with these are that the predictive accuracy of them is worse. You are in the 'classic' problem of Interpretabilty vs predictive accuracy. I would recommend to use Explain Predictions and the model simulator. Maybe RF encoder can be a help here. It gives you the individual predition of each tree, but this is also tricky.Best,Martin1
-
thanks I got it.0