Automatic Ensemble of Deep Learning Using KNN and GA Approaches

Ben Zagagy, Maya Herman, Ofer Levi

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review


Selecting the correct deep learning architecture is a significant issue when training a new deep learning neural networks model. Even when all of other DL hyper-parameters are accurate, the selected architecture will define the final classification quality of the generated model. In our previous paper we described a unique classification methodology called ACKEM for efficient and automatic classification of data, based on an ensemble of multiple DL models and KNN input-based architecture selection. The ACKEM methodology does not restrict the classification to one specific model with one specific architecture, as a specific architecture might not fit some of the input data. The ACKEM methodology had a major constraint – it used a brute-force approach for selecting the most suitable K for its inner usage of the KNN algorithm. In this paper, we propose a genetic algorithm (GA) based approach, for selecting the most suitable K. This method was tested over multiple datasets including the Covid-19 Radiography Chest X-Ray Images Dataset, the Malaria Cells Dataset, the Road Potholes Dataset, and the Voice Commands Dataset. All the tested datasets served us in our previous work on ACKEM, as well. This paper proves that replacing the inefficient method of brute force with a GA approach can improve the ACKEM method’s complexity without harming its promising results.

Original languageEnglish
Title of host publicationIntelligent Computing - Proceedings of the 2021 Computing Conference
EditorsKohei Arai
PublisherSpringer Nature
Number of pages12
ISBN (Electronic)9783030801250
StatePublished - 2021
EventComputing Conference 2021 - Virtual, Online
Duration: 15 Jul 202116 Jul 2021

Publication series

NameIntelligent Computing - Proceedings of the 2021 Computing Conference


ConferenceComputing Conference 2021
CityVirtual, Online

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2021


  • Data mining
  • Deep learning
  • Ensemble classifier
  • GA
  • Genetic algorithm
  • KNN


Dive into the research topics of 'Automatic Ensemble of Deep Learning Using KNN and GA Approaches'. Together they form a unique fingerprint.

Cite this