问题
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