International Journal of Computer Theory and Engineering

Frequency: Quarterly
ISSN: 1793-8201 (Print), 2972-4511 (Online)
Publisher:IACSIT Press

OPEN ACCESS
4.0
CiteScore

IJCTE 2021 Vol.13(2): 56-60
doi: 10.7763/IJCTE.2021.V13.1290

Improvement of Parallelization of KNN Algorithm Based on Sequential MapReduce

Yaoshun Li , Lizhi Liu

  • School of Artificial Intelligence, School of Computer Science and Engineering, Wuhan Institute of Technology, Wuhan, China.

Abstract

In order to further improve the computing efficiency of the KNN algorithm in a cluster environment, an improved parallelization algorithm based on the sequential MapReduce framework was proposed. Two MapReduce workflows were defined in sequence. The first workflow took training data as input to parallelize the process of calculating Euclidean distance; the second workflow took the output of the calculation process as input to parallelize the process of counting categories. The Experiments have verified that in a cluster environment, compared with a single MapReduce operation process, the sequential improvement accelerated the operation process of counting categories and improved the efficiency of the algorithm.

Keywords

  • KNN
  • MapReduce
  • parallelization
1290-IF022

How to Cite

Copied

Yaoshun Li and Lizhi Liu, "Improvement of Parallelization of KNN Algorithm Based on Sequential MapReduce," International Journal of Computer Theory and Engineering, vol. 13, no. 2, pp. 56-60, 2021. https://doi.org/10.7763/IJCTE.2021.V13.1290

Copyright & License

Copyright © 2021 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions

Menu