A High Efficient and Fast kNN Algorithm Based on CUDA

被引:1
|
作者
Pei, Tong [1 ]
Zhang, Yanxia [1 ]
Zhao, Yongheng [1 ]
机构
[1] Chinese Acad Sci, Natl Astron Observ, Key Lab Opt Astron, Beijing 100012, Peoples R China
来源
SOFTWARE AND CYBERINFRASTRUCTURE FOR ASTRONOMY | 2010年 / 7740卷
关键词
CUDA; GPGPU; k Nearest Neighbor; classification; catalog; survey;
D O I
10.1117/12.856768
中图分类号
P1 [天文学];
学科分类号
0704 ;
摘要
The k Nearest Neighbor (kNN) algorithm is an effective classification approach in the statistical methods of pattern recognition. But it could be a rather time-consuming approach when applied on massive data, especially facing large survey projects in astronomy. NVIDIA CUDA is a general purpose parallel computing architecture that leverages the parallel compute engine in NVIDIA graphics processing units (GPUs) to solve many complex computational problems in a fraction of the time required on a CPU. In this paper, we implement a CUDA-based kNN algorithm, and compare its performance with CPU-only kNN algorithm using single-precision and double-precision datatype on classifying celestial objects. The results demonstrate that CUDA can speedup kNN algorithm effectively and could be useful in astronomical applications.
引用
收藏
页数:7
相关论文
共 50 条
  • [1] High-Quality Fast Image Upsampling Algorithm Based on CUDA
    Xu, Qingqing
    Zheng, Xin
    Chen, Jie
    HUMAN-COMPUTER INTERACTION: DESIGN AND DEVELOPMENT APPROACHES, PT I, 2011, 6761 : 677 - 683
  • [2] Fast Indexing Algorithm for Efficient kNN Queries on Complex Networks
    Kobayashi, Suomi
    Matsugu, Shohei
    Shiokawa, Hiroaki
    PROCEEDINGS OF THE 2021 IEEE/ACM INTERNATIONAL CONFERENCE ON ADVANCES IN SOCIAL NETWORKS ANALYSIS AND MINING, ASONAM 2021, 2021, : 343 - 347
  • [3] Efficient strategy for parallelisation of multilevel fast multipole algorithm using CUDA
    Garcia, Eliseo
    Delgado, Carlos
    Lozano, Lorena
    Catedra, Felipe
    IET MICROWAVES ANTENNAS & PROPAGATION, 2019, 13 (10) : 1554 - 1563
  • [4] A fast document classification algorithm based on improved KNN
    Guo, Ge
    Ping, Xijian
    Chen, Gang
    ICICIC 2006: FIRST INTERNATIONAL CONFERENCE ON INNOVATIVE COMPUTING, INFORMATION AND CONTROL, VOL 3, PROCEEDINGS, 2006, : 186 - +
  • [5] A fast classification algorithm for big data based on KNN
    Niu, Kun
    Zhao, Fang
    Zhang, Shubo
    Journal of Applied Sciences, 2013, 13 (12) : 2208 - 2212
  • [6] AN EFFICIENT SORTING ALGORITHM WITH CUDA
    Chen, Shifu
    Qin, Jing
    Xie, Yongming
    Zhao, Junping
    Heng, Pheng-Ann
    JOURNAL OF THE CHINESE INSTITUTE OF ENGINEERS, 2009, 32 (07) : 915 - 921
  • [7] Efficient kNN Algorithm Based on Graph Sparse Reconstruction
    Zhang, Shichao
    Zong, Ming
    Sun, Ke
    Liu, Yue
    Cheng, Debo
    ADVANCED DATA MINING AND APPLICATIONS, ADMA 2014, 2014, 8933 : 356 - 369
  • [8] A Fast and Flexible Sorting Algorithm with CUDA
    Chen, Shifu
    Qin, Jing
    Xie, Yongming
    Zhao, Junping
    Heng, Pheng-Ann
    ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, PROCEEDINGS, 2009, 5574 : 281 - +
  • [9] Fast kNN classification algorithm based on partial distance search
    Chung Yuan Christian Univ, Chungli, Taiwan
    Electron Lett, 21 (2062-2063):
  • [10] Fast kNN classification algorithm based on partial distance search
    Hwang, WJ
    Wen, KW
    ELECTRONICS LETTERS, 1998, 34 (21) : 2062 - 2063