Unverified60% confidenceFactExact time
Cosine similarity measures the cosine of the angle between two vectors, with the formula cos(θ) = (A · B) / (||A|| × ||B||).
2
Sources
60%
Confidence
Long-term
Relevance
7/14/2026
First Seen
Sources
余弦相似度-1代表语义相反?机器学习面试高频陷阱解析
Related Claims
UnverifiedOn unit vectors, the squared L2 distance ranks identically to cosine similarity, because |a - b|² = 2 - 2·cos(a, b).76% similarUnverifiedFor vectors A=(1,1) and B=(2,2), the cosine similarity is 1 and the Euclidean distance is approximately 1.41; the cosine similarity between A and C=(1,0) is approximately 0.707 and the Euclidean distance is 1.67% similarUnverifiedComputing the cosine similarity of a 1536-dimensional vector is essentially 1536 multiplications, 1535 additions, and several square root operations.65% similarVerifiedA cosine similarity value of 1 indicates completely identical directions (angle 0°), a value of 0 indicates orthogonality (angle 90°), and a value of -1 indicates completely opposite directions (angle 180°).65% similarUnverified欧拉公式 e^(iθ) = cos(θ) + i·sin(θ) 揭示了正弦波与复指数函数之间的联系63% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/507860API
curl https://kongchang.com/api/v1/knowledge/claims/507860MCP
get_claim(id=507860)