CosineDistance[u,v]
ベクトル u と v の間の余弦距離を返す.
CosineDistance
CosineDistance[u,v]
ベクトル u と v の間の余弦距離を返す.
例題
すべて開く すべて閉じる特性と関係 (3)
余弦距離は原点からユークリッド距離でスケールされたドット積を含む:
平均でシフトされたベクトルのCosineDistanceはCorrelationDistanceに等しい:
テクニカルノート
関連するガイド
テキスト
Wolfram Research (2007), CosineDistance, Wolfram言語関数, https://reference.wolfram.com/language/ref/CosineDistance.html.
CMS
Wolfram Language. 2007. "CosineDistance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CosineDistance.html.
APA
Wolfram Language. (2007). CosineDistance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CosineDistance.html
BibTeX
@misc{reference.wolfram_2025_cosinedistance, author="Wolfram Research", title="{CosineDistance}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/CosineDistance.html}", note=[Accessed: 01-May-2026]}
BibLaTeX
@online{reference.wolfram_2025_cosinedistance, organization={Wolfram Research}, title={CosineDistance}, year={2007}, url={https://reference.wolfram.com/language/ref/CosineDistance.html}, note=[Accessed: 01-May-2026]}