阅读背景:

如何构建一个只在每个特征变量中使用二进制分裂的分类树(最好是在R中)?

来源:互联网 

I have been using rpart to train a supervised decision tree model, with binary responses. The problem with the results is that some features get split multiple times in a non-monotonic way. For instance, feature A might be split into three intervals, [0,0.4],[0.4,0.6],[0.6,1], corresponding to the following responses respectively, -1,1,-1. I would prefer that each feature gets split once and in a binary way. Is there a way to do that in R?I have been using rpart to train a supervised d




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: