Abstract
Parallelizing computationally expensive classification algorithms, such as the Rectified Nearest Feature Line Segment (RNFLS), remains a task for expert programmers due to the complexity involved in rewriting the application and the required knowledge of the available hardware and tools. A simple parallel implementation of the Nearest Feature Line (NFL) and the RNFLS algorithms using OpenMP over multicore architectures is presented. Both non-parametric classifiers are used in the classification of datasets that contain few samples. The training and testing evaluation technique is used, with a 70–30 ratio respectively and seven datasets from the UCI repository, to verify the speedup and the accuracy of the classifier. Results and experiments derived from the parallel execution of both algorithms, calculating the average of 20 repetitions on a small architecture of 6 physical cores and 12 ones with multi-threading, show that accelerations of up to 21 times can be achieved with NFL and up to 13 times with RNFLS.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Altincay, H., Erenel, Z.: Avoiding the interpolation inaccuracy in nearest feature line classifier by spectral feature analysis. Pattern Recognit. Lett. 34, 1372–1380 (2013)
Berman, F., Snyder, L.: On mapping parallel algorithms into parallel architectures. J. Parallel Distrib. Comput. 4(5), 439–458 (1987)
Bramer, M.: Estimating the predictive accuracy of a classifier, pp. 79–92. Springer, London (2016)
Chapman, B., Jost, G., van der Pas, R.: Using OpenMP: portable shared memory parallel programming, vol. 46. Massachusetts Institute of Technology (2008)
Du, H., Chen, Y.Q.: Rectified nearest feature line segment for pattern classification. Pattern Recognit. 40(5), 1486–1497 (2007)
Kamaei, K., Altincay, H.: Editing the nearest feature line classifier. Intell. Data Anal. 19(3), 563–580 (2015)
Kung, H.: The structure of parallel algorithms. In: Advances in Computers, vol. 19, pp. 65 – 112. Elsevier (1980)
Li, S.Z., Lu, J.: Face recognition using the nearest feature line method. IEEE Trans. Neural Netw. 10(2), 439–443 (1999)
Reyes-Ortiz, J.L., Oneto, L., Anguita, D.: Big data analytics in the cloud: spark on hadoop vs MPI/openMP on Beowulf. Procedia Comput. Sci. 53, 121–130 (2015). iNNS Conference on Big Data 2015 Program San Francisco, CA, USA 8-10 August 2015
Uribe-Hurtado, A., Villegas-Jaramillo, E.J., Orozco-Alzate, M.: Leave-one-out evaluation of the nearest feature line and the rectified nearest feature line segment classifiers using multi-core architectures. Ingeniería y Ciencia 14(27), 75–99 (2018)
Xiao, B., Biros, G.: Parallel algorithms for nearest neighbor search problems in high dimensions. SIAM J. Sci. Comput. 38, S667–S699 (2016)
Acknowledgments
The authors acknowledge the support provided by Facultad de Administración, Universidad Nacional de Colombia - Sede Manizales (UNAL) and Grupo de Ambientes Inteligentes Adaptativos - GAIA to attend DCAI’20.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Uribe-Hurtado, AL., Villegas-Jaramillo, EJ., Orozco-Alzate, M. (2021). Parallel Implementation of Nearest Feature Line and Rectified Nearest Feature Line Segment Classifiers Using OpenMP. In: Dong, Y., Herrera-Viedma, E., Matsui, K., Omatsu, S., González Briones, A., Rodríguez González, S. (eds) Distributed Computing and Artificial Intelligence, 17th International Conference. DCAI 2020. Advances in Intelligent Systems and Computing, vol 1237. Springer, Cham. https://doi.org/10.1007/978-3-030-53036-5_4
Download citation
DOI: https://doi.org/10.1007/978-3-030-53036-5_4
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-53035-8
Online ISBN: 978-3-030-53036-5
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)