Comparative Analysis of Random Forest and SVM Performance in Asthma Prediction

Authors

  • Lailatuz Zuhria Department of Informatics Engineering, Asian Institute of Technology and Business, Indonesia
  • Azwar Riza Habibi Department of Informatics Engineering, Asian Institute of Technology and Business, Indonesia

DOI:

10.33395/sinkron.v9i1.14346

Keywords:

Asthma Prediction, Error Rate, Forecasting Time, Medical Datasets, Performance Comparison, Prediction Capabilities, Random Forest, Support Vector Machine, Testing Time, Training Time

Abstract

This study evaluates the performance of Random Forest (RF) and Support Vector Machine (SVM) algorithms in predicting asthma risk to identify the most suitable method for medical datasets. Key metrics include training time, testing time, forecasting time, error rate, and accuracy. The datasets involve attributes such as age and clinical factors, analyzed in three stages: training, testing, and forecasting.

During training, SVM demonstrated faster processing, requiring a maximum of 0.5323 seconds compared to RF's 3.7736 seconds on 90% training data. In testing, RF excelled in speed, achieving a minimum testing time of 0.0215 seconds, while SVM required 0.0984 seconds on 10% test data. However, SVM consistently outperformed RF in error rate, with a minimum error rate of 19.17%, compared to RF's 25.10%.

During training, SVM demonstrated faster processing, requiring a maximum of 0.5323 seconds compared to RF's 3.7736 seconds on 90% training data. In testing, RF excelled in speed, achieving a minimum testing time of 0.0215 seconds, while SVM required 0.0984 seconds on 10% test data. However, SVM consistently outperformed RF in error rate, with a minimum error rate of 19.17%, compared to RF's 25.10%.

GS Cited Analysis

Downloads

Download data is not yet available.

References

Akbar, W., Wu, W.-P., Faheem, M., Saleem, S., Javed, A., & Saleem, M. A. (2020). Predictive analytics model based on multiclass classification for asthma severity by using Random Forest algorithm. 2020 International Conference on Electrical, Communication, and Computer Engineering (ICECCE), 1–4. https://doi.org/10.1109/ICECCE49384.2020.9179467

Alves, A. M., Marques de Mello, L., Lima Matos, A. S., & Cruz, Á. A. (2019). Severe asthma: Comparison of different classifications of severity and control. Respiratory Medicine, 156, 1–7. https://doi.org/10.1016/j.rmed.2019.07.015

Boulet, L.-P., Reddel, H. K., Bateman, E., Pedersen, S., FitzGerald, J. M., & O’Byrne, P. M. (2019). The Global Initiative for Asthma (GINA): 25 years later. European Respiratory Journal, 54(2), 1900598. https://doi.org/10.1183/13993003.00598-2019

Buani, D. C. P. (2024). Deteksi dini penyakit diabetes dengan menggunakan algoritma Random Forest. Evolusi: Jurnal Sains dan Manajemen, 12(1). https://doi.org/10.31294/evolusi.v12i1.21005

Du, J., Liu, Y., Yu, Y., & Yan, W. (2017). A prediction of precipitation data based on support vector machine and particle swarm optimization (PSO-SVM) algorithms. Algorithms, 10(2), 57. https://doi.org/10.3390/a10020057

Fadli, M., & Saputra, R. A. (n.d.). Klasifikasi dan evaluasi performa model Random Forest untuk prediksi stroke. Jurnal Teknologi. http://jurnal.umt.ac.id/index.php/jt/index

Gaudillo, J., Rodriguez, J. J. R., Nazareno, A., Baltazar, L. R., Vilela, J., Bulalacao, R., Domingo, M., & Albia, J. (2019). Machine learning approach to single nucleotide polymorphism-based asthma prediction. PLOS ONE, 14(12), e0225574. https://doi.org/10.1371/journal.pone.0225574

Khalis Sofi, A. S., Sunge, S. R., Riady, S. R., & Kamalia, A. Z. (2021a). Perbandingan algoritma linear regression, LSTM, dan GRU dalam memprediksi harga saham dengan model time series. Seminastika, 3(1), 39–46. https://doi.org/10.47002/seminastika.v3i1.275

Khalis Sofi, A. S., Sunge, S. R., Riady, S. R., & Kamalia, A. Z. (2021b). Perbandingan algoritma linear regression, LSTM, dan GRU dalam memprediksi harga saham dengan model time series. Seminastika, 3(1), 39–46. https://doi.org/10.47002/seminastika.v3i1.275

Lachaud, A., Adam, M., & Mišković, I. (2023). Comparative study of Random Forest and Support Vector Machine algorithms in mineral prospectivity mapping with limited training data. Minerals, 13(8), 1073. https://doi.org/10.3390/min13081073

Oshiro, T. M., Santoro Perez, P., & Baranauskas, J. A. (n.d.). LNAI 7376 - How many trees in a Random Forest? Lecture Notes in Artificial Intelligence. Retrieved from relevant publisher database.

Pisner, D. A., & Schnyer, D. M. (2020). Support vector machine. In Machine Learning (pp. 101–121). Elsevier. https://doi.org/10.1016/B978-0-12-815739-8.00006-7

Purbolaksono, M. D., Irvan Tantowi, M., Imam Hidayat, A., & Adiwijaya, A. (2021). Perbandingan Support Vector Machine dan Modified Balanced Random Forest dalam Deteksi Pasien Penyakit Diabetes. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 5(2), 393–399. https://doi.org/10.29207/resti.v5i2.3008

Rigatti, S. J. (2017). Random Forest. Journal of Insurance Medicine, 47(1), 31–39. https://doi.org/10.17849/insm-47-01-31-39.1

Sanchez-Morillo, D., Fernandez-Granero, M. A., & Leon-Jimenez, A. (2016). Use of predictive algorithms in-home monitoring of chronic obstructive pulmonary disease and asthma. Chronic Respiratory Disease, 13(3), 264–283. https://doi.org/10.1177/1479972316642365

Suryanto, A. A. (2019). Penerapan metode mean absolute error (MAE) dalam algoritma regresi linear untuk prediksi produksi padi. Saintekbu, 11(1), 78–83. https://doi.org/10.32764/saintekbu.v11i1.298

Vishwanathan, S. V. M., & Narasimha Murty, M. (n.d.). SSVM: A simple SVM algorithm. In Proceedings of the 2002 International Joint Conference on Neural Networks. IJCNN’02 (Cat. No.02CH37290), 2393–2398. https://doi.org/10.1109/IJCNN.2002.1007516

Downloads


Crossmark Updates

How to Cite

Zuhria, L., & Azwar Riza Habibi. (2025). Comparative Analysis of Random Forest and SVM Performance in Asthma Prediction. Sinkron : Jurnal Dan Penelitian Teknik Informatika, 9(1), 347-356. https://doi.org/10.33395/sinkron.v9i1.14346