源数据:
| outlook | temperature | humidity | windy | play | | sunny | hot | high | FALSE | no | | sunny | hot | high | TRUE | no | | overcast | cool | normal | TRUE | yes | | rainy | cool | normal | TRUE | no | | rainy | mild | high | TRUE | no | | rainy | mild | high | FALSE | yes | | overcast | hot | high | FALSE | yes | | sunny | mild | high | FALSE | no | | sunny | cool | normal | FALSE | yes | | rainy | cool | normal | FALSE | yes | | sunny | mild | normal | TRUE | yes | | overcast | hot | normal | FALSE | yes | | overcast | mild | high | TRUE | yes | | rainy | mild | normal | FALSE | yes |
| | | | |
在SAS EM中执行决策树后图形为:
显然, SAS进行了剪枝, 自动剔除了其他不显著的, 但是我想要SAS给出所有的枝叶.
根据决策树ID3方法, 我手算的结果为(即我想让SAS出现的结果):
请问在SAS EM 中如何操作呢?