TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Choosing a vector difference function

11 点作者 abscondment超过 15 年前

3 条评论

cammil超过 15 年前
I would advise those reading too much into this article not do so. Using vectors for theory to do basic statistics is likely to confuse matters for you. Vectors, though important in statistics, are primarily used to describe spaces, be they 3d or otherwise. If you understand how this translates to statistics, then you probably don't need the ideas in the article. If you don't, then this article is plainly misleading.
vomjom超过 15 年前
There are far better methods than the one linked in the article.<p>You can train a covariance matrix such that you can get a better distance metric. Particularly, you would use the Mahalanobis Distance:<p><a href="http://en.wikipedia.org/wiki/Mahalanobis_distance" rel="nofollow">http://en.wikipedia.org/wiki/Mahalanobis_distance</a><p>For classification tasks, there are two good ways of training a covariance matrix for distance metrics: neighborhood components analysis and large margin nearest neighbors.<p>The effect in the article is just a particular quirk of using the euclidean distance. You could, for example, get the same result by using a 1-norm distance.
profquail超过 15 年前
This is usually called a "Norm" (or "Vector Norm").<p><a href="http://en.wikipedia.org/wiki/Norm_%28mathematics%29" rel="nofollow">http://en.wikipedia.org/wiki/Norm_%28mathematics%29</a>