skmeans_xdist(skmeans)
skmeans_xdist()所属R语言包:skmeans
Cosine Cross-Distances
余弦跨距离
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Compute cosine cross-distances between the rows of matrices.
计算余弦交叉矩阵的行之间的距离。
用法----------Usage----------
skmeans_xdist(x, y = NULL)
参数----------Arguments----------
参数:x
A numeric data matrix. Can be a dense matrix, simple triplet matrix (package slam), or a dgTMatrix (package Matrix).
一个数字数据矩阵。稠密矩阵,可以是一个简单的三线矩阵(包slam),或dgTMatrix(包Matrix)。
参数:y
NULL (default), or as for x. The default is equivalent to taking y as x (but more efficient).
NULL(默认),或x。默认值是相当于服用y,作为x(但更有效的)。
值----------Value----------
A dense matrix d with entry d_{ij} = 1 - \cos(x_i, y_j) the cosine distance between the i-th row x_i of x and the j-th row y_j of y.
一个稠密矩阵d进入与d_{ij} = 1 - \cos(x_i, y_j)个i的余弦值之间的距离行x_ix和j个行y_j:y。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|