CosineDistance

CosineDistance[u,v]

给出向量 uv 之间的角余弦位距.

更多信息

范例

打开所有单元关闭所有单元

基本范例  (2)

两个向量之间的余弦位距:

数值向量量之间的余弦位距:

范围  (2)

计算等长度的任何向量之间的位距:

计算任何精度的向量之间的位距:

应用  (1)

使用余弦位距的聚类数据:

属性和关系  (3)

余弦位距包括根据范数调整的点积:

余弦位距包括根据距坐标原点的欧几里德位距调整的点积:

向量的 CosineDistance 进行距离为其均值的平移后等价于 CorrelationDistance

Wolfram Research (2007),CosineDistance,Wolfram 语言函数,https://reference.wolfram.com/language/ref/CosineDistance.html.

文本

Wolfram Research (2007),CosineDistance,Wolfram 语言函数,https://reference.wolfram.com/language/ref/CosineDistance.html.

CMS

Wolfram 语言. 2007. "CosineDistance." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/CosineDistance.html.

APA

Wolfram 语言. (2007). CosineDistance. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/CosineDistance.html 年

BibTeX

@misc{reference.wolfram_2024_cosinedistance, author="Wolfram Research", title="{CosineDistance}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/CosineDistance.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_cosinedistance, organization={Wolfram Research}, title={CosineDistance}, year={2007}, url={https://reference.wolfram.com/language/ref/CosineDistance.html}, note=[Accessed: 22-November-2024 ]}