junxnone / aiwiki

AI Wiki
https://junxnone.github.io/aiwiki
17 stars 2 forks source link

ML NNS KDTree #104

Open junxnone opened 3 years ago

junxnone commented 3 years ago

KDTree

Reference

Brief

nn_kdtree

复杂度

Steps 复杂度
构建 O(log2 n)
插入 O(log n)
删除 O(log n)
查询 O(n1-1/k + k)
k - 搜索的点数

Libraries

UseCase

K = 2 image image
K=3 image image