knn:Clojure 中的 K 最近邻分类器

时间:2021-07-04 15:41:14
【文件属性】:
文件名称:knn:Clojure 中的 K 最近邻分类器
文件大小:421KB
文件格式:ZIP
更新时间:2021-07-04 15:41:14
Clojure 克恩 knn 是用 Clojure 编写的 ak 最近邻分类器库。 它支持各种开箱即用的距离函数,如下所列。 它具有完整的测试覆盖率。 用法 ( use ‘[knn.core :refer :all ]) ( use ‘[knn.distance :refer :all ]) ( def neighbors 3 ) ; After loading training data and test data into vectors(the observation vectors need to be same size) ; Predictions are the vector that has the class predictions for each observation ( def predictions ( predict training-data test-data manh
【文件预览】:
knn-master
----.gitignore(345B)
----data()
--------iris.csv(4KB)
--------test.txt(19B)
--------train.txt(114B)
----src()
--------knn()
----.travis.yml(49B)
----LICENSE(11KB)
----README.md(3KB)
----docs()
--------knn.similarity.html(182KB)
--------knn.norm.html(182KB)
--------knn.distance.html(189KB)
--------uberdoc.html(202KB)
--------knn.core.html(187KB)
--------toc.html(182KB)
--------knn.op.html(184KB)
----test()
--------knn()
----project.clj(363B)

网友评论