How would you interpret an ensemble tree model?

橙三吉。 提交于 2019-12-25 18:21:48

问题


In machine learning ensemble tree models such as random forest are common. This models consist of an ensemble of so called decision tree models. How can we analyse, however, what those models have specifically learned?


回答1:


You cannot in this sense in what you can just plot simple decision tree. Only extremely simple models can be easily investigated. More complex methods require more complex tools, which are just approximations, general ideas of what to look for. So for ensembles you can try to look at some expectation of property of a single model. For example you can look for some feature importances measures, which shows you which features are used to make prediction to same extent. You will not get a simple if/else structure, this is simply impossible, but some fuzzy idea. For RF you can take out feature importances which is more or less expected fraction of samples which actually "hit" a decision node considering a particular feature.



来源:https://stackoverflow.com/questions/37172289/how-would-you-interpret-an-ensemble-tree-model

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!