Impact the Classes’ Number on the Convolutional Neural Networks Performance for Image Classification

Amna Kadhim Ali (1), Abdulhussein Mohsin Abdullah (2), Sabreen Fawzi Raheem (3)
(1) Veterinary Public Health Branch, College of Veterinary Medicine, University of Basrah, Basrah, 61, Iraq
(2) Computer Technology Engineering Department, Alkunooze University College, Basrah, 61, Iraq
(3) Basrah technical Institute, Southern Technical University, Basrah, 61, Iraq
Fulltext View | Download
How to cite (IJASEIT) :
Ali , A. K., Abdullah , A. M., & Raheem , S. F. (2024). Impact the Classes’ Number on the Convolutional Neural Networks Performance for Image Classification. International Journal of Advanced Science Computing and Engineering, 6(2), 64–69.

Deep learning was developed as a realistic artificial intelligence technique that takes in numerous layers of information and produces the best results in various classes. Deep learning has demonstrated excellent performance in several areas, particularly picture grouping, division, and recognition. The convolutional neural network (CNN) is one of the algorithms that relies on deep learning in its work. It has proven its effectiveness in classifying images with high efficiency in medical images and their diagnoses, face recognition, and other different fields. In this paper, the focus was on images to alert new researchers to their effects on the performance of CNN in terms of the number of classes that existed within the database, in addition to the impact of incorrect classification of images by the source on the classification result and the necessity of adopting reliable and correct sources of data to avoid inaccurate results. A group of face images has been used, and three experiments on them were conducted using all existing classes with reduction. The results showed a significant improvement in the performance of the algorithm whenever the number of classes was reduced. The best result was when only two classes were chosen for classification, reaching a validation accuracy of 85%.

C. Zuo et al., “Deep learning in optical metrology: a review,” Light: Science & Applications, vol. 11, no. 1, Feb. 2022, doi: 10.1038/s41377-022-00714-x.

M. Z. Alom et al., “A State-of-the-Art Survey on Deep Learning Theory and Architectures,” Electronics, vol. 8, no. 3, p. 292, Mar. 2019, doi: 10.3390/electronics8030292.

T. Kattenborn, J. Leitloff, F. Schiefer, and S. Hinz, “Review on Convolutional Neural Networks (CNN) in vegetation remote sensing,” ISPRS Journal of Photogrammetry and Remote Sensing, vol. 173, pp. 24–49, Mar. 2021, doi: 10.1016/j.isprsjprs.2020.12.010.

J. Gu et al., “Recent advances in convolutional neural networks,” Pattern Recognition, vol. 77, pp. 354–377, May 2018, doi: 10.1016/j.patcog.2017.10.013.

P. T. Q. Anh, D. Q. Thuyet, and Y. Kobayashi, “Image classification of root-trimmed garlic using multi-label and multi-class classification with deep convolutional neural network,” Postharvest Biology and Technology, vol. 190, p. 111956, Aug. 2022, doi: 10.1016/j.postharvbio.2022.111956.

M. M. Yusro, R. Ali, and M. S. Hitam, “Comparison of Faster R-CNN and YOLOv5 for Overlapping Objects Recognition,” Baghdad Science Journal, vol. 20, no. 3, p. 0893, Jun. 2023, doi: 10.21123/bsj.2022.7243

A. K. Sharma et al., “Dermatologist-Level Classification of Skin Cancer Using Cascaded Ensembling of Convolutional Neural Network and Handcrafted Features Based Deep Neural Network,” IEEE Access, vol. 10, pp. 17920–17932, 2022, doi: 10.1109/access.2022.3149824.

F. S. Hanoon and A. H. Hassin Alasadi, “A modified residual network for detection and classification of Alzheimer’s disease,” International Journal of Electrical and Computer Engineering (IJECE), vol. 12, no. 4, p. 4400, Aug. 2022, doi: 10.11591/ijece.v12i4.pp4400-4407.

H. S. Das, A. Das, A. Neog, S. Mallik, K. Bora, and Z. J. F. i. G. Zhao, "Breast cancer detection: Shallow convolutional neural network against deep convolutional neural networks based approach,", Frontiers, vol. 13, p. 1097207, 2023.

M. A. H. Akhand, S. Roy, N. Siddique, M. A. S. Kamal, and T. Shimamura, “Facial Emotion Recognition Using Transfer Learning in the Deep CNN,” Electronics, vol. 10, no. 9, p. 1036, Apr. 2021, doi: 10.3390/electronics10091036.

Y. Cao, W. Zhou, M. Zang, D. An, Y. Feng, and B. Yu, “MBANet: A 3D convolutional neural network with multi-branch attention for brain tumor segmentation from MRI images,” Biomedical Signal Processing and Control, vol. 80, p. 104296, Feb. 2023, doi: 10.1016/j.bspc.2022.104296.

J. Alfred Daniel et al., "Fully convolutional neural networks for LIDAR–camera fusion for pedestrian detection in autonomous vehicle,", Multimedia Tools and Applications, pp. 1-24, 2023.

M. Ahmadi, A. Sharifi, M. Jafarian Fard, and N. Soleimani, “Detection of brain lesion location in MRI images using convolutional neural network and robust PCA,” International Journal of Neuroscience, vol. 133, no. 1, pp. 55–66, Feb. 2021, doi: 10.1080/00207454.2021.1883602.

H. Chen, L. Wu, J. Chen, W. Lu, and J. Ding, “A comparative study of automated legal text classification using random forests and deep learning,” Information Processing & Management, vol. 59, no. 2, p. 102798, Mar. 2022, doi: 10.1016/j.ipm.2021.102798.

S. Soni, S. S. Chouhan, and S. S. J. A. I. Rathore, "TextConvoNet: A convolutional neural network based architecture for text classification,", Applied Intelligence, vol. 53, no. 11, pp. 14249-14268, 2023.

V. R. J. I. J. o. C. Allugunti, Programming and D. Management, "A machine learning model for skin disease classification using convolution neural network,", International Journal of Computing, Programming and Database Management, vol. 3, no. 1, pp. 141-147, 2022.

A. S. Musallam, A. S. Sherif, and M. K. Hussein, “A New Convolutional Neural Network Architecture for Automatic Detection of Brain Tumors in Magnetic Resonance Imaging Images,” IEEE Access, vol. 10, pp. 2775–2782, 2022, doi: 10.1109/access.2022.3140289.

J.-H. Kim, B.-G. Kim, P. P. Roy, and D.-M. Jeong, “Efficient Facial Expression Recognition Algorithm Based on Hierarchical Deep Neural Network Structure,” IEEE Access, vol. 7, pp. 41273–41285, 2019, doi: 10.1109/access.2019.2907327.

N. M. A.-M. M. Al and R. S. J. I. Khudeyer, "ResNet-34/DR: a residual convolutional neural network for the diagnosis of diabetic retinopathy,", Informatica, vol. 45, no. 7, 2021.

A. Mollahosseini, B. Hasani, and M. H. Mahoor, “AffectNet: A Database for Facial Expression, Valence, and Arousal Computing in the Wild,” IEEE Transactions on Affective Computing, vol. 10, no. 1, pp. 18–31, Jan. 2019, doi: 10.1109/taffc.2017.2740923.

A. M. Hasan, A. F. Qasim, H. A. Jalab, and R. W. Ibrahim, “Breast Cancer MRI Classification Based on Fractional Entropy Image Enhancement and Deep Feature Extraction,” Baghdad Science Journal, vol. 20, no. 1, p. 0221, Feb. 2023, doi: 10.21123/bsj.2022.6782.

R. Sarki, K. Ahmed, H. Wang, Y. Zhang, J. Ma, and K. Wang, “Image Preprocessing in Classification and Identification of Diabetic Eye Diseases,” Data Science and Engineering, vol. 6, no. 4, pp. 455–471, Aug. 2021, doi: 10.1007/s41019-021-00167-z.

R. G, “A Study to Find Facts Behind Preprocessing on Deep Learning Algorithms,” March 2021, vol. 3, no. 1, pp. 66–74, Apr. 2021, doi: 10.36548/jiip.2021.1.006.

W. Samek, G. Montavon, S. Lapuschkin, C. J. Anders, and K.-R. Muller, “Explaining Deep Neural Networks and Beyond: A Review of Methods and Applications,” Proceedings of the IEEE, vol. 109, no. 3, pp. 247–278, Mar. 2021, doi: 10.1109/jproc.2021.3060483.

Z. Li, F. Liu, W. Yang, S. Peng, and J. Zhou, “A Survey of Convolutional Neural Networks: Analysis, Applications, and Prospects,” IEEE Transactions on Neural Networks and Learning Systems, vol. 33, no. 12, pp. 6999–7019, Dec. 2022, doi: 10.1109/tnnls.2021.3084827.

S. Cong and Y. J. A. I. R. Zhou, "A review of convolutional neural network architectures and their optimizations,", Artificial Intelligence Review, vol. 56, no. 3, pp. 1905-1969, 2023.

A. Khan, A. Sohail, U. Zahoora, and A. S. J. A. i. r. Qureshi, "A survey of the recent architectures of deep convolutional neural networks,", Artificial Intelligence Review, vol. 53, pp. 5455-5516, 2020.

D. Negrov, I. Karandashev, V. Shakirov, Yu. Matveyev, W. Dunin-Barkowski, and A. Zenkevich, “An approximate backpropagation learning rule for memristor based neural networks using synaptic plasticity,” Neurocomputing, vol. 237, pp. 193–199, May 2017, doi: 10.1016/j.neucom.2016.10.061.

S. Kiranyaz, O. Avci, O. Abdeljaber, T. Ince, M. Gabbouj, and D. J. Inman, “1D convolutional neural networks and applications: A survey,” Mechanical Systems and Signal Processing, vol. 151, p. 107398, Apr. 2021, doi: 10.1016/j.ymssp.2020.107398.

V. H. Phung and E. J. Rhee, “A High-Accuracy Model Average Ensemble of Convolutional Neural Networks for Classification of Cloud Image Patches on Small Datasets,” Applied Sciences, vol. 9, no. 21, p. 4500, Oct. 2019, doi: 10.3390/app9214500.