楼主: porcupinefinal
2011 0

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

  • 1关注
  • 2粉丝

VIP

硕士生

95%

还不是VIP/贵宾

-

威望
0
论坛币
10548 个
通用积分
31.0323
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
2271 点
帖子
211
精华
0
在线时间
144 小时
注册时间
2007-10-8
最后登录
2024-1-28

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
关于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

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

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-9 20:40