找回密码
 注册
查看: 326|回复: 0

R语言 sperrorest包 summary.sperroresterror()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 15:05:18 | 显示全部楼层 |阅读模式
summary.sperroresterror(sperrorest)
summary.sperroresterror()所属R语言包:sperrorest

                                        Summarize error statistics obtained by sperrorest
                                         总结错误统计得到sperrorest

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

summary.sperroresterror calculates mean, standard deviation, median etc. of the calculated error measures at the specified level (overall, repetition, or fold). summary.sperrorestpoolederror does the same with the pooled error, at the overall or repetition level.
summary.sperroresterror计算平均值,标准差,中位数等措施,在规定的水平(整体,重复,或折)的计算错误。 summary.sperrorestpoolederror做同样的汇集错误,在整体或重复的水平。


用法----------Usage----------


  ## S3 method for class 'sperroresterror'
summary(object, level = 0,
    pooled = TRUE, na.rm = TRUE, ...)



参数----------Arguments----------

参数:object
sperroresterror resp. sperrorestcombinederror error object calculated by sperrorest
sperroresterror RESP账户。 sperrorestcombinederror错误对象计算的sperrorest


参数:level
Level at which errors are summarized: 0: overall; 1: repetition; 2: fold
在哪一级的错误总结:0:整体; 1:重复2:倍


参数:pooled
If TRUE (default), mean and standard deviation etc are calculated between fold-level error estimates. If FALSE, apply first a weighted.mean among folds before calculating mean, standard deviation etc among repetitions. See also Details.
如果TRUE(默认),平均值和标准偏差等计算之间的倍级的错误估计。如果FALSE,先申请一个weighted.mean之间的褶皱,然后再计算平均值,标准偏差等之间的重复。还详细介绍了。


参数:na.rm
Remove NA values? See mean etc.
删除NA值吗?见mean等等。


参数:...
additional arguments (currently ignored)
额外的参数(目前被忽略)


Details

详细信息----------Details----------

Let's use an example to explain the pooled argument. E.g., assume we are using 100-repeated 10-fold cross-validation. If pooled=TRUE (default), the mean and standard deviation calculated when summarizing at level=0 are calculated across the error estimates obtained for each of the 100*10 = 1000 folds. If pooled=FALSE, mean and standard deviation are calculated across the 100 repetitions, using the weighted average of the fold-level errors to calculate an error value for the entire sample. This will essentially not affect the mean value but of course the standard deviation of the error. pooled=FALSE is not recommended, it is mainly for testing purposes; when the test sets are small (as in leave-one-out cross-validation, in the extreme case), consider running sperrorest with err.pooled=TRUE and examine only the pooled.error component of its result.
让我们用一个例子来解释pooled参数。例如,假设我们使用的是100重复的10倍交叉验证。如果pooled=TRUE(默认),的平均值和标准偏差计算总结level=0时,计算整个错误估计的100*10 = 1000褶皱。如果pooled=FALSE,均值和标准差计算出来,100重复,采用加权平均计算整个样本的误差值的倍级的错误。这将基本上不影响的平均值,但当然该错误的标准偏差。 pooled=FALSE不推荐的,它主要是用于测试目的,测试时,小(如在休假-out交叉验证,在极端情况下),请考虑运行sperrorest与err.pooled=TRUE只检查pooled.error组成部分,它的结果。


值----------Value----------

Depending on the level of aggregation, a list or data.frame with mean, and at level 0 also standard deviation, median and IQR of the error measures.
根据聚集程度,list或data.frame,平均,并在级别0的标准差,中位数和IQR的错误措施。


参见----------See Also----------

sperrorest
sperrorest

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-18 15:40 , Processed in 0.052436 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表