楼主: porcupinefinal
2835 0

[问答] 关于rpart.control 4个参数的中文解释,最好有例子加以说明,谢谢! [推广有奖]

  • 1关注
  • 2粉丝

VIP

已卖:776份资源

博士生

0%

还不是VIP/贵宾

-

威望
0
论坛币
10588 个
通用积分
28.8423
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
2211 点
帖子
213
精华
0
在线时间
148 小时
注册时间
2007-10-8
最后登录
2025-3-4

楼主
porcupinefinal 发表于 2016-8-14 23:59:50 |AI写论文
10论坛币

关于rpart.control 4个参数的中文解释,最好有例子加以说明,谢谢!

maxcompete: the number of competitor splits retained in the output. It is useful to know not just which split was chosen, but which variable came in second, third, etc.
maxsurrogate: the number of surrogate splits retained in the output. If this is set to zero the compute time will be reduced, since approximately half of the computational time (other than setup) is used in the search for surrogate splits.
usesurrogate: how to use surrogates in the splitting process. 0 means display only; an obser-vation with a missing value for the primary split rule is not sent further downthe tree. 1 means use surrogates, in order, to split subjects missing the primary
variable; if all surrogates are missing the observation is not split. For value 2 ,ifall surrogates are missing, then send theobservation in the majority direction. A value of 0 corresponds to the action of tree, and 2 to the recommendations of Breiman et.al (1984).
surrogatestyle: controls the selection of a best surrogate. If set to 0 (default) the program uses the total number of correct classification for a potential surrogate variable, if set to 1 it uses the percent correct, calculated over the non-missing values of the surrogate. The first option more severely penalizes covariates with a large number of missing values.

关键词:control Contro rpart contr trol 中文解释 search number useful second

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-9 06:43