Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在java中实现k-NN算法,我需要从数据库中以最小距离获取k值。例如,我输入了 123,我们在数据库中有 10000 个值。我想找到与数据库差异最小的 10 个值。我怎样才能做到这一点。谢谢
您可以从数据库中检索按感兴趣的值排序的值。