eval.stress(spe)
eval.stress()所属R语言包:spe
Evaluates the Sammon stress of an embedding
嵌入的应力计算的扩展,且优于塞曼
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Given an N dimensional dataset embedded M dimensions, this function will evaluate the Sammon stress of the embedding, via probability sampling
给定一个N维嵌入M维的数据集,此功能将嵌入的扩展,且优于塞曼压力的评估,通过概率抽样
用法----------Usage----------
eval.stress( x, coord,
ndim = 0, edim = 0, nobs = 0,
samplesize = 1e6)
参数----------Arguments----------
参数:x
The embedded data in matrix form. If present in a data.frame it will be coerced to a matrix
嵌入的数据中以矩阵形式。如果数据框将被强制转换为矩阵
参数:coord
The input data in matrix form. If present in a data.frame it will be coerced to a matrix
矩阵形式中的输入数据。如果数据框将被强制转换为矩阵
参数:nobs
The number of observations (rows of the input matrix should be the same as the rows of the embedding matrix) If it is not specified nobs will be taken as nrow(coord)
观测值的个数(应该是相同的为包埋矩阵的行的输入矩阵的行),如果未指定诺布斯将作为NROW采取(经纬度)
参数:ndim
The number of input dimensions. If not specified it will be taken as ncol(coord)
输入尺寸的数量。如果没有指定,将被视为NCOL(经纬度)
参数:edim
The number of dimensions to embed in. If not specified it will be taken as ncol(x)
嵌入英寸如果未指定的尺寸的数量将被当作NCOL(倍)
参数:samplesize
The number of iterations for probability sampling. For a dataset of 6070 observations there will be 6070x6069/2 pairwise distances. The default value gives a close approximation and runs fast. If you want a better approximation 1e7 is a good value. YMMV
迭代概率抽样的数量。对于6070的观测数据集会有6070x6069 / 2成对距离。从预设值非常接近,运行速度快。如果你想要一个更好的近似1E7是一个很好的价值。 YMMV
Details
详细信息----------Details----------
The Sammon stress is given by
Sammon应力由下式给出
值----------Value----------
Returns the value of the Sammon stress as a single number
返回的值的Sammon应力作为一个单一的数字
参考文献----------References----------
<h3>See Also</h3>
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|