EUVIMEDEUVIMED entdecken
Open Access · CC BY-NC-ND 4.0

Improving diagnosis of pneumonia among population: A machine learning method using k-nearest neighbors (KNN), random forest, and support vector machine (SVM) on chest X-ray images

Oluwaseun Olumide Okundalaye

SRA - Physical Sciences · 2025

DOI: 10.63112/1e038s75 ↗

Kurz gefasst

Fachartikel in der Zeitschrift SRA - Physical Sciences, 2025. Verfasst von Oluwaseun Olumide Okundalaye. Der Volltext ist frei zugänglich (Open Access, CC BY-NC-ND 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Pneumonia is a major global health challenge, particularly affecting children under five, and remains a leading cause of mortality due to diagnostic delays and variability in clinical interpretation. This study investigates the application of classical machine learning (ML) classifiers—K-Nearest Neighbors (KNN), Random Forest (RF), and Support Vector Machine (SVM)—to enhance pneumonia detection using pediatric chest X-ray images. A dataset of 5,856 chest X-rays was preprocessed using spatial (Gaussian Blur, Histogram Equalization) and frequency-domain (Discrete Cosine Transform, High-Pass Filtering) techniques. Feature extraction was performed using a hybrid approach combining handcrafted methods (GLCM, HOG, Wavelets) and deep features via a pretrained ResNet-50. Among the models evaluated, SVM with Gaussian Blur achieved the highest accuracy (96.75%) and F1-score (0.97), followed by RF with Gaussian Blur (95.32% accuracy, F1-score 0.95). In contrast, DCT preprocessing consistently underperformed across all models. Statistical analyses, including ANOVA (p = 0.0003) and Tukey’s HSD, confirmed that model-preprocessing interactions significantly influenced diagnostic performance. While DenseNet121, a deep learning baseline, achieved slightly higher accuracy (93.1%), classical models demonstrated superior computational efficiency and interpretability, making them better suited for deployment in resource-constrained settings. This research highlights the importance of image preprocessing and feature engineering in ML-based pneumonia diagnostics, offering promising solutions for improving early detection and clinical decision-making in low-resource environments.

Zitieren

APA

Okundalaye, O. O. (2025). Improving diagnosis of pneumonia among population: A machine learning method using k-nearest neighbors (KNN), random forest, and support vector machine (SVM) on chest X-ray images. SRA - Physical Sciences. https://doi.org/10.63112/1e038s75

Vancouver

Okundalaye OO. Improving diagnosis of pneumonia among population: A machine learning method using k-nearest neighbors (KNN), random forest, and support vector machine (SVM) on chest X-ray images. SRA - Physical Sciences. 2025. doi:10.63112/1e038s75

BibTeX
@article{Okundalaye2025,
  author = {Okundalaye, Oluwaseun Olumide},
  title = {Improving diagnosis of pneumonia among population: A machine learning method using k-nearest neighbors (KNN), random forest, and support vector machine (SVM) on chest X-ray images},
  journal = {SRA - Physical Sciences},
  year = {2025},
  doi = {10.63112/1e038s75}
}
Kostenlos starten →