ASPG Menu
search

American Scientific Publishing Group

verified Journal

Journal of Artificial Intelligence and Metaheuristics

ISSN
Online: 2833-5597
Frequency

Continuous publication

Publication Model

Open access · Articles freely available online · $500 APC applies after acceptance

Journal of Artificial Intelligence and Metaheuristics
Review Article

Volume 12Issue 1PP: 18–41 • 2027

Feature Selection and Hyperparameter Optimization of Convolutional Neural Networks Using the Ocotillo Optimization Algorithm for Pneumonia Detection from Chest X-Ray Images

Mona Yassen 1* ,
Ancy Cheriyan 2
1Computer Science and Intelligent Systems Research Center, Blacksburg 24060, Virginia, USA
2School of Artificial Intelligence, Bahrain Polytechnic, PO Box 33349, Isa Town, Bahrain
* Corresponding Author.
verified

Open Access & Copyright

© 2027 The Author(s). Published by ASPG. This article is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).

Received: April 19, 2026 Revised: June 28, 2026 Accepted: August 12, 2026

Abstract

Pneumonia diagnosis from chest X-ray images remains clinically important because subtle radiographic abnormalities can be difficult to assess consistently under high workload or limited expert availability. This study proposes an optimization-guided diagnostic framework that integrates the Ocotillo Optimization Algorithm (OcOA) with a Convolutional Neural Network (CNN) for binary pneumonia classification. Rather than introducing OcOA or CNN as new algorithms, the contribution lies in using OcOA in two complementary stages: feature selection over CNN-derived deep representations and hyperparameter optimization of the CNN classifier. The proposed pipeline was evaluated on the Chest X-Ray Images (Pneumonia) dataset, which contains pediatric radiographs labeled as Normal or Pneumonia. In the feature-selection stage, binary Ocotillo Optimization Algorithm (bOcOA) achieved the lowest average error, with a value of 0.523417. After feature selection, the CNN baseline achieved the best classification performance among the evaluated machine-learning models, reaching an accuracy of 0.94985. In the hyperparameter optimization stage, OcOA+CNN achieved the strongest optimized performance, with an accuracy of 0.989939. These findings indicate that OcOA can improve CNN-based pneumonia detection by refining both the feature space and the model configuration. The framework may support automated chest X-ray screening on the studied dataset; however, external validation, statistical testing, and prospective clinical assessment remain necessary before any clinical deployment claim can be made.

Keywords

Pneumonia Detection Chest X-Ray Classification Convolutional Neural Networks Feature Selection Hyperparameter Optimization

References

[1] World Health Organization, “Pneumonia in children,” WHO fact sheet, 2022.

[2] T. Cherian, E. K. Mulholland, J. B. Carlin, H. Ostensen, R. Amin, M. de Campo, D. Greenberg, R. Lagos, M. Lucero, S. A. Madhi, K. L. O’Brien, S. Obaro, and M. C. Steinhoff, “Standardized interpretation of paediatric chest radiographs for the diagnosis of pneumonia in epidemiological studies,” Bulletin of the World Health Organization, vol. 83, no. 5, pp. 353–359, 2005.

[3] N. Fancourt, M. Deloria Knoll, B. Barger-Kamate, M. de Campo, J. de Campo, M. B. Diallo, J. Figueroa, L. L. Hammitt, M. M. Higdon, J. K. Igbo, H. L. Johnson, O. S. Levine, N. Lufesi,W. B. MacLeod, S. A. Madhi, N. Mahomed, D. P. Moore, L. Mwananyanda, K. L. O’Brien, J. A. G. Scott, D. M. Thea, S. L. Zeger, and D. R. Feikin, “Standardized interpretation of chest radiographs in cases of pediatric pneumonia from the perch study,” Clinical Infectious Diseases, vol. 64, no. suppl_3, pp. S253–S261, 2017.

[4] X. Wang, Y. Peng, L. Lu, Z. Lu, M. Bagheri, and R. M. Summers, “Chestx-ray8: Hospital-scale chest x-ray database and benchmarks on weakly-supervised classification and localization of common thorax diseases,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3462–3471, 2017.

[5] P. Rajpurkar, J. Irvin, K. Zhu, B. Yang, H. Mehta, T. Duan, D. Ding, A. Bagul, C. P. Langlotz, K. Shpanskaya, M. P. Lungren, and A. Y. Ng, “Chexnet: Radiologist-level pneumonia detection on chest x-rays with deep learning,” arXiv preprint arXiv:1711.05225, 2017.

[6] P. Mooney, “Chest x-ray images (pneumonia),” Kaggle dataset, 2018.

[7] D. S. Kermany, M. Goldbaum, W. Cai, C. C. S. Valentim, H. Liang, S. L. Baxter, A. McKeown, G. Yang, X. Wu, F. Yan, J. Dong, M. K. Prasadha, J. Pei, M. Y. L. Ting, J. Zhu, C. Li, S. Hewett, J. Dong, I. Ziyar, A. Shi, R. Zhang, L. Zheng, R. Hou, W. Shi, X. Fu, Y. Duan, V. A. N. Huu, C. Wen, E. D. Zhang, C. L. Zhang, O. Li, X. Wang, M. A. Singer, X. Sun, J. Xu, A. Tafreshi, M. A. Lewis, H. Xia, and K. Zhang, “Identifying medical diagnoses and treatable diseases by imagebased deep learning,” Cell, vol. 172, no. 5, pp. 1122–1131.e9, 2018.

[8] G. Litjens, T. Kooi, B. E. Bejnordi, A. A. A. Setio, F. Ciompi, M. Ghafoorian, J. A. W. M. van der Laak, B. van Ginneken, and C. I. Sánchez, “A survey on deep learning in medical image analysis,” Medical Image Analysis, vol. 42, pp. 60–88, 2017.

[9] H.-C. Shin, H. R. Roth, M. Gao, L. Lu, Z. Xu, I. Nogues, J. Yao, D. Mollura, and R. M. Summers, “Deep convolutional neural networks for computer-aided detection: Cnn architectures, dataset characteristics and transfer learning,” IEEE Transactions on Medical Imaging, vol. 35, no. 5, pp. 1285–1298, 2016.

[10] G. Chandrashekar and F. Sahin, “A survey on feature selection methods,” Computers & Electrical Engineering, vol. 40, no. 1, pp. 16–28, 2014.

[11] J. Bergstra and Y. Bengio, “Random search for hyperparameter optimization,” Journal of Machine Learning Research, vol. 13, pp. 281–305, 2012.

[12] L. Yang and A. Shami, “On hyperparameter optimization of machine learning algorithms: Theory and practice,” Neurocomputing, vol. 415, pp. 295–316, 2020.

[13] S. Mirjalili, S. M. Mirjalili, and A. Lewis, “Grey wolf optimizer,” Advances in Engineering Software, vol. 69, pp. 46–61, 2014.

[14] J. Kennedy and R. Eberhart, “Particle swarm optimization,” in Proceedings of the IEEE International Conference on Neural Networks, vol. 4, pp. 1942–1948, 1995.

[15] S. Mirjalili and A. Lewis, “The whale optimization algorithm,” Advances in Engineering Software, vol. 95, pp. 51–67, 2016.

[16] S. Mirjalili, S. M. Mirjalili, and A. Hatamlou, “Multi-verse optimizer: A nature-inspired algorithm for global optimization,” Neural Computing and Applications, vol. 27, no. 2, pp. 495–513, 2016.

[17] S. H. Samareh Moosavi and V. Khatibi Bardsiri, “Satin bowerbird optimizer: A new optimization algorithm to optimize anfis for software development effort estimation,” Engineering Applications of Artificial Intelligence, vol. 60, pp. 1–15, 2017.

[18] J. H. Holland, Adaptation in Natural and Artificial Systems. Ann Arbor, MI: University of Michigan Press, 1975.

[19] D. E. Goldberg, Genetic Algorithms in Search, Optimization, and Machine Learning. Reading, MA: Addison-Wesley, 1989.

[20] E.-S. M. El-Kenawy, F. H. Rizk, A. M. Zaki, M. E. Mohamed, A. Ibrahim, A. A. Abdelhamid, N. Khodadadi, E. M. Almetwally, and M. M. Eid, “Ocotillo optimization algorithm (ocoa): A desert-inspired metaheuristic for adaptive optimization,” Journal of Artificial Intelligence and Metaheuristics, no. 1, pp. 39–59, 2025.

[21] J. Kennedy and R. C. Eberhart, “A discrete binary version of the particle swarm algorithm,” in Proceedings of the IEEE International Conference on Systems, Man, and Cybernetics, vol. 5, pp. 4104–4108, 1997.

[22] H. Salimi, “Stochastic fractal search: A powerful metaheuristic algorithm,” Knowledge-Based Systems, vol. 75, pp. 1–18, 2015.

Cite This Article

Choose your preferred format

format_quote
Yassen, Mona , Cheriyan, Ancy. "Feature Selection and Hyperparameter Optimization of Convolutional Neural Networks Using the Ocotillo Optimization Algorithm for Pneumonia Detection from Chest X-Ray Images." Journal of Artificial Intelligence and Metaheuristics, vol. 12, no. 1, 2027, pp. 18–41. DOI: https://doi.org/10.54216/JAIM.120103
Yassen, M., Cheriyan, A. (2027). Feature Selection and Hyperparameter Optimization of Convolutional Neural Networks Using the Ocotillo Optimization Algorithm for Pneumonia Detection from Chest X-Ray Images. Journal of Artificial Intelligence and Metaheuristics, Volume 12(Issue 1), 18–41. DOI: https://doi.org/10.54216/JAIM.120103
Yassen, Mona , Cheriyan, Ancy. "Feature Selection and Hyperparameter Optimization of Convolutional Neural Networks Using the Ocotillo Optimization Algorithm for Pneumonia Detection from Chest X-Ray Images." Journal of Artificial Intelligence and Metaheuristics Volume 12, no. Issue 1 (2027): 18–41. DOI: https://doi.org/10.54216/JAIM.120103
Yassen, M., Cheriyan, A. (2027) 'Feature Selection and Hyperparameter Optimization of Convolutional Neural Networks Using the Ocotillo Optimization Algorithm for Pneumonia Detection from Chest X-Ray Images', Journal of Artificial Intelligence and Metaheuristics, Volume 12(Issue 1), pp. 18–41. DOI: https://doi.org/10.54216/JAIM.120103
Yassen M, Cheriyan A. Feature Selection and Hyperparameter Optimization of Convolutional Neural Networks Using the Ocotillo Optimization Algorithm for Pneumonia Detection from Chest X-Ray Images. Journal of Artificial Intelligence and Metaheuristics. 2027;Volume 12(Issue 1):18–41. DOI: https://doi.org/10.54216/JAIM.120103
M. Yassen, A. Cheriyan, "Feature Selection and Hyperparameter Optimization of Convolutional Neural Networks Using the Ocotillo Optimization Algorithm for Pneumonia Detection from Chest X-Ray Images," Journal of Artificial Intelligence and Metaheuristics, vol. Volume 12, no. Issue 1, pp. 18–41, 2027. DOI: https://doi.org/10.54216/JAIM.120103
policy

Publisher's Note

The statements, opinions, and data presented in this article are solely those of the author(s) and do not necessarily represent those of ASPG, the journal, or its editors. ASPG and the editors disclaim responsibility for any harm arising from the use of any ideas, methods, instructions, or products described in this article, to the fullest extent permitted by applicable law.

Digital Archive Ready