首页 | 本学科首页   官方微博 | 高级检索  
     


Fast and memory efficient implementation of the exact PNN
Authors:Franti   P. Kaukoranta   T. Shen   D.-F. Chang   K.-S.
Affiliation:Dept. of Comput. Sci., Joensuu Univ.
Abstract:Straightforward implementation of the exact pairwise nearest neighbor (PNN) algorithm takes O(N(3)) time, where N is the number of training vectors. This is rather slow in practical situations. Fortunately, much faster implementation can be obtained with rather simple modifications to the basic algorithm. In this paper, we propose a fast O(tauN(2)) time implementation of the exact PNN, where tau is shown to be significantly smaller than N, We give all necessary data structures and implementation details, and give the time complexity of the algorithm both in the best case and in the worst case. The proposed implementation achieves the results of the exact PNN with the same O(N) memory requirement.
Keywords:
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号