Classification of Pneumonia from Chest X-ray Images Using Keras Module TensorFlow
Versions
- 2023-08-30 (2)
- 2023-08-14 (1)
Downloads
Pneumonia is a respiratory disease caused by bacteria and viruses that attack the alveoli, causing inflammation of the alveoli. This study aims to examine the ability of the Convolutional Neural Network (CNN) model to classify pneumonia and normal x-ray images. The method used in this research is to construct a CNN model from scratch by compiling layers one by one with the help of the Keras TensorFlow module, which consists of a Convolution layer, MaxPooling layer, Flatten layer, Dropout layer, and Dense layer. Data used in this research is from Guangzhou Women and Children Medical Center, Guangzhou, China. The total data used is 200 images divided into 160 test data, 20 training data, and 20 validation data. From the results of the research conducted, the model has the fastest processing speed of 9.6ms/epoch with a total of 20 epochs. The model has the highest accuracy value of 77% in the training process and an accuracy value of 80% in the testing process. The highest sensitivity value is 1.54 in training and 1.6 in testing. The highest specificity value is 0.77 in training and 0.8 in testing. It can be said that the model can do good classification.
Allaouzi, I., & Ahmed, M. B. (2019). A novel approach for multi-label chest X-ray classification of common thorax diseases. *IEEE Access, 7*, 64279-64288.
Bharati, S., Podder, P., & Hossain, R. (2020). Hybrid deep learning for detecting lung diseases from X-ray images. *Journal of Informatics in Medicine Unlocked, 20*(2020). Publisher: Elsevier.
Chollet, F. (2015). Keras. Retrieved December 27, 2022, from https://keras.io.
Firmansyah, I., Hayadi, B. H. (2022). Komparasi Fungsi Aktivasi Relu Dan Tanh Pada Multilayer Perceptron. *JIKO: Jurnal Teknik Energi Elektrik, Teknik Telekomunikasi, & Teknik Elektronika, 8*(2), 200-206. September 2022.
Franquet, T. (2018). Imaging of community-acquired pneumonia. *Journal of Thoracic Imaging*.
Geitgey, A. (n.d.). Machine Learning is Fun Part 3: Deep Learning and Convolutional Neural Networks. Retrieved December 27, 2022, from https://medium.com/@ageitgey/machine-learning-is-fun-part-3-deep-learning-and-convolutional-neural-networks-f40359318721.
Hariyani, Y. S., et al. (2020). Deteksi Penyakit Covid-19 Berdasarkan Citra X-Ray Menggunakan Deep Residual Network. *ELKOMIKA: Jurnal Teknik Energi Elektrik, Teknik Telekomunikasi, & Teknik Elektronika, 8*(2), 443-453. May 2020.
Heidari, M., Mirniaharikandeheia, S., Khuzanib, A.Z., Danalaa, G., Qiu, Y., & Zheng, B. (2020). Improving the performance of CNN to predict the likelihood of COVID-19 using chest X-ray images with preprocessing algorithms. *International Journal of Medical Informatics, 144*, 104284. December 2020. Publisher: Elsevier.
Howard, A., Sandler, M., Chu, G., Chen, L. C., Chen, B., Tan, M., ... & Le, Q. V. (2019). Searching for mobilenetv3. *Proceedings of the IEEE International Conference on Computer Vision* (pp. 1314-1324).
Huang, C., Wang, Y., Li, X., Ren, L., Zhao, J., Hu, Y., ... Cao, B. (2020). Clinical features of patients infected with 2019 novel coronavirus in Wuhan, China. *The Lancet, 395*(10223), 497–506.
Copyright (c) 2023 Indonesian Applied Physics Letters
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.