go - golang中的knn算法

标签 go knn

用golang编写KNN算法

有意义吗?或者有没有它的包?

例如在java中:

https://github.com/alexksikes/ML/blob/master/knn/kNN.java

最佳答案

是的,这是有道理的。这取决于你的整个堆栈是否在 golang 中。否则,golang 对 ml 贡献不大。

是的,它有多个包:

  1. https://github.com/sjwhitworth/golearn/tree/master/knn
  2. https://github.com/amitkgupta/nearest_neighbour
  3. https://github.com/Jragonmiris/knn
  4. https://github.com/Akiira/Go-knn
  5. https://github.com/CuriousCain/kNN-Iris-set

其中一些您需要修改。将来如果需要 ml,请引用此 repo:https://github.com/josephmisiti/awesome-machine-learning

关于go - golang中的knn算法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37200581/

相关文章:

machine-learning - SAS : how to get the neighbor list for each row? 中的 k 最近邻

python - 平衡数据后 KNN 找不到类

machine-learning - 计算 KNN 的欧氏距离

sql - 为什么QueryRow()。Scan()在表中不为空时返回空字符串?

go - 无法通过golang删除注册表项

随着请求数量的增加,Go 网络服务器性能急剧下降

python - 使用自定义数据集而不是 MNIST 进行训练

Go - 区分用户仅输入数字和其他所有内容

mongodb - 为什么我的 mongodb 查询返回 0 个结果?

c# - 如何在 C# 中针对大量维度最好地实现 K 最近邻?