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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Alike: light kNN library for Node

10 点作者 mck-将近 12 年前

3 条评论

yid将近 12 年前
I can see two problems with this:<p>-- A naive linear scan for a lookup will not scale as the size of your database grows larger. You should be looking into space-partitioning trees, or approximate methods like locality-sensitive hashing.<p>-- Euclidean distance is a terrible metric for kNN on non-metric spaces, which is what your movie example is. It will also be beaten to a pulp by the Curse of Dimensionality: <a href="http://en.wikipedia.org/wiki/Curse_of_dimensionality#Distance_functions" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Curse_of_dimensionality#Distanc...</a>
评论 #6054428 未加载
mck-将近 12 年前
Alike is a versatile light-weight kNN&#x2F;similarity library that can be useful for many Machine Learning projects. Whether you are building a recommendation system, or an optimization model, comparing objects is pervasive -- feedback welcome!
flockonus将近 12 年前
I&#x27;ve been looking for this!
评论 #6053794 未加载