Skip to main content

Parallel Implementation of Nearest Feature Line and Rectified Nearest Feature Line Segment Classifiers Using OpenMP

  • Conference paper
  • First Online:
Distributed Computing and Artificial Intelligence, 17th International Conference (DCAI 2020)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 149.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 199.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Altincay, H., Erenel, Z.: Avoiding the interpolation inaccuracy in nearest feature line classifier by spectral feature analysis. Pattern Recognit. Lett. 34, 1372–1380 (2013)

    Article  Google Scholar 

  2. Berman, F., Snyder, L.: On mapping parallel algorithms into parallel architectures. J. Parallel Distrib. Comput. 4(5), 439–458 (1987)

    Article  Google Scholar 

  3. Bramer, M.: Estimating the predictive accuracy of a classifier, pp. 79–92. Springer, London (2016)

    Google Scholar 

  4. Chapman, B., Jost, G., van der Pas, R.: Using OpenMP: portable shared memory parallel programming, vol. 46. Massachusetts Institute of Technology (2008)

    Google Scholar 

  5. Du, H., Chen, Y.Q.: Rectified nearest feature line segment for pattern classification. Pattern Recognit. 40(5), 1486–1497 (2007)

    Article  Google Scholar 

  6. Kamaei, K., Altincay, H.: Editing the nearest feature line classifier. Intell. Data Anal. 19(3), 563–580 (2015)

    Article  Google Scholar 

  7. Kung, H.: The structure of parallel algorithms. In: Advances in Computers, vol. 19, pp. 65 – 112. Elsevier (1980)

    Google Scholar 

  8. Li, S.Z., Lu, J.: Face recognition using the nearest feature line method. IEEE Trans. Neural Netw. 10(2), 439–443 (1999)

    Article  Google Scholar 

  9. 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

    Article  Google Scholar 

  10. 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)

    Google Scholar 

  11. Xiao, B., Biros, G.: Parallel algorithms for nearest neighbor search problems in high dimensions. SIAM J. Sci. Comput. 38, S667–S699 (2016)

    Article  MathSciNet  Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Ana-Lorena Uribe-Hurtado .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics