马娟, 方源敏, 赵文亮, 冯瑜瑾. 利用空间微分块与动态球策略的k近邻搜索算法研究[J]. 武汉大学学报 ( 信息科学版), 2011, 36(3): 358-362.
引用本文: 马娟, 方源敏, 赵文亮, 冯瑜瑾. 利用空间微分块与动态球策略的k近邻搜索算法研究[J]. 武汉大学学报 ( 信息科学版), 2011, 36(3): 358-362.
MA Juan, FANG Yuanmin, ZHAO Wenliang. Algorithm for Finding k-Nearest Neighbors Based on Spatial Sub-cubes and Dynamic Sphere[J]. Geomatics and Information Science of Wuhan University, 2011, 36(3): 358-362.
Citation: MA Juan, FANG Yuanmin, ZHAO Wenliang. Algorithm for Finding k-Nearest Neighbors Based on Spatial Sub-cubes and Dynamic Sphere[J]. Geomatics and Information Science of Wuhan University, 2011, 36(3): 358-362.

利用空间微分块与动态球策略的k近邻搜索算法研究

Algorithm for Finding k-Nearest Neighbors Based on Spatial Sub-cubes and Dynamic Sphere

  • 摘要: 提出了一种基于空间微分块与动态球判定策略的k近邻快速搜索算法。该算法以空间包围盒为基础,首先对空间进行微分块,将离散点分配到子空间;然后,以计算点为球心建立动态球,确定k近邻候选点。球半径可根据空间包围盒的大小、离散点数量和k近邻点数进行估算和优化。实验结果表明,该算法可快速完成k近邻搜索,运行稳定可靠。

     

    Abstract: A new algorithm for finding k-nearest neighbors based on spatial sub-cubes and dynamic sphere is presented.At first,the min-max box of the dataset is divided into a set of uniform sub-cubes,every point is distributed in a sub-cube.Then the dynamic sphere is builded using the test point as the center of sphere in order to reduce the searching scope.The radius of sphere can be estimated and adjusted according to the volume of min-max box,the numbers of spatial points and the numbers of k-nearest neighbors.The experimental results show that the algorithm can find k-nearest neighbors fastly.

     

/

返回文章
返回