方差调整余弦距离作为相似性度量
Variance-Adjusted Cosine Distance as Similarity Metric
AI总结:
本文提出方差调整余弦距离,通过引入数据方差-协方差修正传统余弦相似度在随机变量空间中的局限性,并在威斯康星乳腺癌数据集上以KNN建模实现100%测试准确率。
摘要:
余弦相似度是一种流行的距离度量,用于衡量内积空间中两个向量之间的相似性。它被广泛应用于许多数据分类算法中,如K近邻(K-Nearest Neighbors)、聚类等。本研究展示了余弦相似度应用的局限性。特别是,本研究表明传统的余弦相似度度量仅在欧几里得空间中有效,而原始数据存在于随机变量空间中。当数据中存在方差和相关性时,余弦距离并不是完全准确的相似性度量。虽然已经开发出新的相似性和距离度量来弥补余弦相似度的局限性,但这些度量被用作余弦距离的替代品,并未对余弦距离进行修改以克服其局限性。随后,我们提出了一种改进的余弦相似度度量,其中余弦距离通过数据的方差-协方差进行调整。与传统余弦距离相比,方差调整余弦距离的应用提供了更好的相似性性能。使用传统和改进的余弦相似度度量在威斯康星乳腺癌数据集(Wisconsin Breast Cancer Dataset)上进行KNN建模并进行比较。改进后的公式在该数据上显示出100%的测试准确率。
英文摘要:
Cosine similarity is a popular distance measure that measures the similarity between two vectors in the inner product space. It is widely used in many data classification algorithms like K-Nearest Neighbors, Clustering etc. This study demonstrates limitations of application of cosine similarity. Particularly, this study demonstrates that traditional cosine similarity metric is valid only in the Euclidean space, whereas the original data resides in a random variable space. When there is variance and correlation in the data, then cosine distance is not a completely accurate measure of similarity. While new similarity and distance metrics have been developed to make up for the limitations of cosine similarity, these metrics are used as substitutes to cosine distance, and do not make modifications to cosine distance to overcome its limitations. Subsequently, we propose a modified cosine similarity metric, where cosine distance is adjusted by variance-covariance of the data. Application of variance-adjusted cosine distance gives better similarity performance compared to traditional cosine distance. KNN modelling on the Wisconsin Breast Cancer Dataset is performed using both traditional and modified cosine similarity measures and compared. The modified formula shows 100% test accuracy on the data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。