A Fast Exact k-Nearest Neighbors Algorithm for High Dimensional Search Using k-Means Clustering and Triangle Inequality.
A Fast Exact k-Nearest Neighbors Algorithm for High Dimensional Search Using k-Means Clustering and Triangle Inequality.
复制标题
DOI:
10.1016/j.patcog.2010.01.003
复制
发表时间:
2012-02-08
期刊:
影响因子:
--
通讯作者:
Wang X
中科院分区:
文献类型:
--
作者:
Wang X
The k-nearest neighbors (k-NN) algorithm is a widely used machine learning method that finds nearest neighbors of a test object in a feature space. We present a new exact k-NN algorithm called kMkNN (k-Means for k-Nearest Neighbors) that uses the k-means clustering and the triangle inequality to accelerate the searching for nearest neighbors in a high dimensional space. The kMkNN algorithm has two stages. In the buildup stage, instead of using complex tree structures such as metric trees, kd-trees, or ball-tree, kMkNN uses a simple k-means clustering method to preprocess the training dataset. In the searching stage, given a query object, kMkNN finds nearest training objects starting from the nearest cluster to the query object and uses the triangle inequality to reduce the distance calculations. Experiments show that the performance of kMkNN is surprisingly good compared to the traditional k-NN algorithm and tree-based k-NN algorithms such as kd-trees and ball-trees. On a collection of 20 datasets with up to 106 records and 104 dimensions, kMkNN shows a 2-to 80-fold reduction of distance calculations and a 2- to 60-fold speedup over the traditional k-NN algorithm for 16 datasets. Furthermore, kMkNN performs significant better than a kd-tree based k-NN algorithm for all datasets and performs better than a ball-tree based k-NN algorithm for most datasets. The results show that kMkNN is effective for searching nearest neighbors in high dimensional spaces.
登录
查看更多内容
影响因子:
8
作者:
Chen, Yong-Sheng;Hung, Yi-Ping;Fuh, Chiou-Shann
通讯作者:
Fuh, Chiou-Shann
影响因子:
1.1
作者:
SPROULL, RF
通讯作者:
SPROULL, RF
影响因子:
8.3
作者:
Tai, SC;Lai, CC;Lin, YC
通讯作者:
Lin, YC
影响因子:
8
作者:
Lai, Jim Z. C.;Liaw, Yi-Ching;Liu, Julie
通讯作者:
Liu, Julie
影响因子:
8
作者:
Liaw, Yi-Ching
通讯作者:
Liaw, Yi-Ching