摘要: 计算公式 $\cos (\theta) = \frac{\vec{A} \cdot \vec{B}}{||\vec{A}|| \times ||\vec{B}||}$ 其中 $\theta$ 是 余弦相似度. 当$\cos (\theta)$越靠近1,则表示向量A和向量B在向量空间中的夹角越靠近0, 阅读全文
posted @ 2022-10-11 14:42 GottenZZP 阅读(180) 评论(0) 推荐(0)