generate.subsamples(sperich)
generate.subsamples()所属R语言包:sperich
Subsample Creation
子样本创建
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A function that creates an array of subsamples of a dataset.
一个函数,创建一个数组的子样本数据集。
用法----------Usage----------
generate.subsamples(number.of.occurences, fold, loocv.limit)
参数----------Arguments----------
参数:number.of.occurences
The number of occurences of the species.
出现的该物种的数目。
参数:fold
The number of groups which should be created if the number of occurences is greater than loocv.limit.
的基团的数目应创建的出现次数,如果数量是大于loocv.limit。
参数:loocv.limit
The limit below which the subsamples are created for a leave-one-out-cross-validation instead of a k-fold-cross-validation.
下面的限制创建子样本休假离开交叉验证,而不是一个K倍交叉验证。
Details
详细信息----------Details----------
This routine creates subsamples of species occurences based on the number of occurences of the chosen species and the number of groups which should be created. If the number of occurences of the chosen species is below the loocv.limit, the groups contain only one member and the fold value will be ignored. The subsamples can be used for a k-fold or leave-one-out-cross-validation.
此例程创建子样本的物种的数量出现的所选择的物种和应创建的基团的数目的基础上的出现次数。如果所选择的物质的数量出现的是低于的loocv.limit,只有一组所包含的构件和褶皱的值将被忽略。的k倍或离开一离开交叉验证可用于子样本。
值----------Value----------
This function returns a grid which contains the subsamples.
这个函数返回一个网格,其中包含的子样本。
(作者)----------Author(s)----------
Maximilian Lange, Sven Lautenbach
实例----------Examples----------
subsamples <- generate.subsamples(15,3,5)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|