Nearest Neighbor Queries, Nick Roussopoulos

Nearest Neighbor Queries, Nick Roussopoulos
Summary of the paper:
  1. Introduce the NN problem
    There is a wide variety of spatial access methods, however, very few have been used for NN. Although, NN algorithms have been proposed for quad-tree and k-d-tree, a NN algorithm for R-tree is required.
  2. Branch-and-bound
    The main idea in this NN algorithm is branch-and-bound, which decreasing unnecessary queries by calculating the proximity of the nearest distance. This pruning strategy is widely used in AI area. 
  3. Core of the branch-and bound method: Metrics Choosing
    How to estimate the nearest distance is the key to successful pruning. In this paper, the author introduced two metrics for heuristic search
    • MINDIST
      The minimum distance from the point P to all the faces of a MBR.
      MINDIST is a lower bound for nearest distance.
    • MINMAXDIST
      The minimun of the maximun distance from the point P to any faces of a MBR.
      Choose "min" to guarantee at least one object exist, larger will make the bound not tight enough, smaller might not guarantee one.
      MINMAXDIST is an upper bound for nearest distance.
    • MINDIST<= || (P,o) || <= MINMAXDIST
  4. Searching Order
    MINDIST is optimistic distance while MINMAXDIST is a pessimistic one.
    In most of the cases, the MINDIST ordering behaves well ( which is verified in later experiments), but in cases where the MBR is sparse, then MINMAXDIST may over-perform MINDIST ordering. 
  5. Nearest Neighbor Algorithm for R-trees
    1. Initialize the nearest distance as infinite distance
    2. Traverse the tree depth-first starting from the root. At each Index node, sort all MBRs using an ordering metric and put them in an Active Branch List (ABL).
    3. Apply pruning rules 1 and 2 to ABL
    4. Visit the MBRs from the ABL following the order until it is empty
    5. If Leaf node, compute actual distances, compare with the best NN so far, update if necessary.
    6. At the return from the recursion, use pruning rule 3
    7. When the ABL is empty, the NN search returns.
  6. Generalization: Finding the k Nearest Neighbors
    Keep a sorted buff of at most k current nearest neighbors
  7. Questions:
    1. The third step of the algorithm is a little big vague. It only says to apply pruning rules 1 and 2, but rule 2 can only applied to leaf. 
    2. Is there any possibility to combine the two metrics orderings to give a overall better solution?
    3. Is there any other metrics could be used?
    4. Apart from spatial database, k-NN could be also used for classify and clustering of different patterns or objects.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值