as.represampling(sperrorest)
as.represampling()所属R语言包:sperrorest
Resampling objects with repetition, i.e. sets of partitionings or boostrap samples
重采样对象重复设置的分割或自举样本
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Functions for handling represampling objects, i.e. lists of resampling objects.
处理represampling对象的功能,即listSresampling对象的。
用法----------Usage----------
as.represampling(object, ...)
## S3 method for class 'list'
as.represampling(object, ...)
## S3 method for class 'represampling'
print(x, ...)
is.represampling(object)
参数----------Arguments----------
参数:object
object of class represampling, or a list to be coerced to this class
被裹挟到这个类的对象的类represampling,或列表
参数:x
object of class represampling
对象的类represampling
参数:...
currently not used
目前未使用
Details
详细信息----------Details----------
represampling objects are (names) lists of resampling objects. Such objects are typically created by partition.cv, partition.kmeans, represampling.disc.bootstrap and related functions.
represampling对象(名称)列出的resampling对象。这样的对象通常是创建partition.cv,partition.kmeans,represampling.disc.bootstrap和相关的功能。
In r-repeated k-fold cross-validation, for example, the corresponding represampling object has length r, and each of its r resampling objects has length k.
r重复k倍交叉验证,例如,在对应的represampling对象的长度r,每个r<X >对象的长度resampling,。
as.resampling.list coerces object to class represampling while coercing its elements to resampling objects. Some validity checks are performed.
as.resampling.list逼object类represampling,同时强迫的元素,以resampling对象。有些有效性进行检查。
值----------Value----------
as.represampling methods return an object of class represampling with the contents of object.
as.represampling方法返回一个类的对象represampling的内容object中。
参见----------See Also----------
resampling, partition.cv, partition.kmeans, represampling.disc.bootstrap, etc.
resampling,partition.cv,partition.kmeans,represampling.disc.bootstrap,等等。
实例----------Examples----------
data(ecuador) # Muenchow et al. (2012), see ?ecuador[明肖等。 (2012年),厄瓜多尔,看到了吗?]
# Partitioning by elevation classes in 200 m steps:[分区海拔班,200 m步:]
fac = factor( as.character( floor( ecuador$dem / 300 ) ) )
summary(fac)
parti = as.resampling(fac)
# a list of lists specifying sets of training and test sets,[一个列表的列表,指定的训练集和测试集,]
# using each factor at a time as the test set:[使用每个因素在某一时间作为测试集:]
str(parti)
summary(parti)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|