Skip to content
Data Science & information systems International Journal of Advances in Data and Information Systems
Open access E-ISSN 2721-3056 Acceptance rate: 28%

KNN-MVO-SMOTE Algorithm for Air Quality Imbalanced Data Classification

Authors

  • Muhammad Miftahur Rizky Lambung Mangkurat University
  • Muhammad Itqan Mazdadi Lambung Mangkurat University
  • Muliadi Muliadi Lambung Mangkurat University
  • Mohammad Reza Faisal Lambung Mangkurat University
  • Fatma Indriani Lambung Mangkurat University
  • Hasri Akbar Awal Rozaq Graduate School of Informatics, Department of Computer Science, Gazi University, Ankara, Türkiye
  • Oktay Yildiz Faculty of Engineering, Department of Computer Engineering, Gazi University, Ankara, Türkiye

DOI:

https://doi.org/10.59395/ijadis.v6i3.1424

Keywords:

Accuracy, Data Imbalance, Environmental Analysis, Machine Learning, Optimization

Abstract

This research addresses air pollution, a pressing global issue influenced by geographic and temporal factors, using advanced machine-learning techniques to enhance air quality classification. By integrating the K-Nearest Neighbors (KNN) algorithm with the Synthetic Minority Over-sampling Technique (SMOTE) and Multi-Verse Optimization (MVO), we tackle challenges like data imbalance and parameter optimization. Our novel approach, which combines SMOTE and MVO within the KNN framework, has significantly increased classification accuracy to 97%, substantially improving over previous methods. The dataset includes diverse geographic and temporal data, with potential biases acknowledged and addressed. This study highlights the efficacy of merging MVO and SMOTE to optimize classification models, making a substantial contribution to environmental analysis and the fight against air pollution. Future research will explore AutoML technology to improve algorithmic optimization, offering more efficient and adaptive solutions. This pioneering effort emphasizes the critical role of technological innovation in tackling environmental challenges and marks a significant advancement in combating global air pollution.

1235 728

Downloads

Download data is not yet available.

References

[1] A. D. Susanto, “Air pollution and human health,” Med. J. Indones., vol. 29, no. 1, pp. 8–10, 2020, doi: 10.13181/mji.com.204572. DOI: https://doi.org/10.13181/mji.com.204572

[2] L. Bai, J. Wang, X. Ma, and H. Lu, “Air pollution forecasts: An overview,” Int. J. Environ. Res. Public Health, vol. 15, no. 4, 2018, doi: 10.3390/ijerph15040780. DOI: https://doi.org/10.3390/ijerph15040780

[3] B. M. Kuehn, “Who: More than 7 million air pollution deaths each year,” Jama, vol. 311, no. 15, p. 1486, 2014. DOI: https://doi.org/10.1001/jama.2014.4031

[4] K. Saithanu and J. Mekparyup, “Classification of air quality in the urban eastern areas of Thailand related to O3 and PM10 concentration with neural network technique,” Glob. J. Pure Appl. Math., vol. 11, no. 4, pp. 1845–1850, 2015.

[5] M. Hardini, R. A. Sunarjo, M. Asfi, M. H. Riza Chakim, and Y. P. Ayu Sanjaya, “Predicting Air Quality Index using Ensemble Machine Learning,” ADI J. Recent Innov., vol. 5, no. 1Sp, pp. 78–86, 2023, doi: 10.34306/ajri.v5i1sp.981. DOI: https://doi.org/10.34306/ajri.v5i1Sp.981

[6] P. Pan, A. S. Malarvizhi, and C. Yang, “Data Augmentation Strategies for Improved PM2.5 Forecasting Using Transformer Architectures,” Atmosphere (Basel)., vol. 16, no. 2, p. 127, Jan. 2025, doi: 10.3390/atmos16020127. DOI: https://doi.org/10.3390/atmos16020127

[7] B. Mahesh, “Machine Learning Algorithms - A Review,” Int. J. Sci. Res., vol. 9, no. 1, pp. 381–386, 2020, doi: 10.21275/ART20203995. DOI: https://doi.org/10.21275/ART20203995

[8] K. M. Elistiana, B. A. Kusuma, P. Subarkah, and H. A. A. Rozaq, “Improvement of Naive Bayes Algorithm in Sentiment Analysis of Shopee Application Reviews on Google Play Store,” J. Tek. Inform., vol. 4, no. 6, pp. 1431–1436, Dec. 2023, doi: 10.52436/1.jutif.2023.4.6.1486. DOI: https://doi.org/10.52436/1.jutif.2023.4.6.1486

[9] A. I. Kadhim, “Survey on supervised machine learning techniques for automatic text classification,” Artif. Intell. Rev., vol. 52, no. 1, pp. 273–292, 2019, doi: 10.1007/s10462-018-09677-1. DOI: https://doi.org/10.1007/s10462-018-09677-1

[10] N. Eliyati, M. Rahmayani, S. Wijaya, D. A. Zayanti, E. S. Kresnawati, and Y. Resti, “Prediction of Air Quality Index Using Decision Tree With Discretization,” Indones. J. Eng. Sci., vol. 3, no. 3, pp. 061–067, 2022, doi: 10.51630/ijes.v3i3.82. DOI: https://doi.org/10.51630/ijes.v3i3.82

[11] M. A. Rafif, G. S. Indrajaya, M. K. Al-Ghazi, J. Johnny, and N. T. M. Sagala, “Comparison of Decision Tree and Support Vector Machine for Predicting Jakarta Air Quality Index,” in 2023 International Conference on Computer Science, Information Technology and Engineering (ICCoSITE), Feb. 2023, pp. 381–385, doi: 10.1109/ICCoSITE57641.2023.10127855. DOI: https://doi.org/10.1109/ICCoSITE57641.2023.10127855

[12] I. M. Putra, I. Tahyudin, H. A. A. Rozaq, A. Y. Syafa’At, R. Wahyudi, and E. Winarto, “Classification analysis of COVID19 patient data at government hospital of banyumas using machine learning,” in 2021 2nd International Conference on Smart Computing and Electronic Enterprise: Ubiquitous, Adaptive, and Sustainable Computing Solutions for New Normal, ICSCEE 2021, Jun. 2021, pp. 271–274, doi: 10.1109/ICSCEE50312.2021.9498020. DOI: https://doi.org/10.1109/ICSCEE50312.2021.9498020

[13] I. Tahyudin, H. A. A. Rozaq, and H. Nambo, “Machine Learning Analysis for Temperature Classification using Bioelectric Potential of Plant,” in 2022 6th International Conference on Information Technology, Information Systems and Electrical Engineering (ICITISEE), Dec. 2022, pp. 465–470, doi: 10.1109/ICITISEE57756.2022.10057768. DOI: https://doi.org/10.1109/ICITISEE57756.2022.10057768

[14] P. Cunningham and S. J. Delany, “k-Nearest Neighbour Classifiers - A Tutorial,” ACM Comput. Surv., vol. 54, no. 6, pp. 1–25, 2022. DOI: https://doi.org/10.1145/3459665

[15] M. P. Corso, F. L. Perez, S. F. Stefenon, K. C. Yow, R. G. Ovejero, and V. R. Q. Leithardt, “Classification of contaminated insulators using k-nearest neighbors based on computer vision,” Computers, vol. 10, no. 9, pp. 1–18, 2021, doi: 10.3390/computers10090112. DOI: https://doi.org/10.3390/computers10090112

[16] A. Ozdemir, K. Polat, and A. Alhudhaif, “Classification of imbalanced hyperspectral images using SMOTE-based deep learning methods,” Expert Syst. Appl., vol. 178, no. April, p. 114986, Sep. 2021, doi: 10.1016/j.eswa.2021.114986. DOI: https://doi.org/10.1016/j.eswa.2021.114986

[17] A. R. B. Alamsyah, S. R. Anisa, N. S. Belinda, and A. Setiawan, “SMOTE and Nearmiss Methods for Disease Classification with Unbalanced Data,” Proc. Int. Conf. Data Sci. Off. Stat., vol. 2021, no. 1, pp. 305–314, 2022, doi: 10.34123/icdsos.v2021i1.240. DOI: https://doi.org/10.34123/icdsos.v2021i1.240

[18] G. S. K. Ranjan, A. Kumar Verma, and S. Radhika, “K-Nearest Neighbors and Grid Search CV Based Real Time Fault Monitoring System for Industries,” 2019 IEEE 5th Int. Conf. Converg. Technol. I2CT 2019, pp. 9–13, 2019, doi: 10.1109/I2CT45611.2019.9033691. DOI: https://doi.org/10.1109/I2CT45611.2019.9033691

[19] T. A. Assegie, “An optimized K-Nearest neighbor based breast cancer detection,” J. Robot. Control, vol. 2, no. 3, pp. 115–118, 2021, doi: 10.18196/jrc.2363. DOI: https://doi.org/10.18196/jrc.2363

[20] S. Mirjalili, S. M. Mirjalili, and A. Hatamlou, “Multi-Verse Optimizer: a nature-inspired algorithm for global optimization,” Neural Comput. Appl., vol. 27, no. 2, pp. 495–513, 2016, doi: 10.1007/s00521-015-1870-7. DOI: https://doi.org/10.1007/s00521-015-1870-7

[21] I. Aljarah, M. Mafarja, A. A. Heidari, H. Faris, and S. Mirjalili, Multi-verse optimizer: Theory, literature review, and application in data clustering, vol. 811. Springer International Publishing, 2020. DOI: https://doi.org/10.1007/978-3-030-12127-3_8

[22] S. Daud, M. Ullah, A. Rehman, T. Saba, R. Damasevicius, and A. Sattar, “Topic Classification of Online News Articles Using Optimized Machine Learning Models,” Computers, vol. 12, no. 1, p. 16, Jan. 2023, doi: 10.3390/computers12010016. DOI: https://doi.org/10.3390/computers12010016

[23] A. K. Venkitaraman and V. S. R. Kosuru, “Hybrid Deep Learning Mechanism for Charging Control and Management of Electric Vehicles,” Eur. J. Electr. Eng. Comput. Sci., vol. 7, no. 1, pp. 38–46, Jan. 2023, doi: 10.24018/ejece.2023.7.1.485. DOI: https://doi.org/10.24018/ejece.2023.7.1.485

[24] M. Sarhan, S. Layeghy, M. Gallagher, and M. Portmann, “From zero-shot machine learning to zero-day attack detection,” Int. J. Inf. Secur., vol. 22, no. 4, pp. 947–959, Aug. 2023, doi: 10.1007/s10207-023-00676-0. DOI: https://doi.org/10.1007/s10207-023-00676-0

[25] D. H. N. Aini, D. Kurniasari, A. Nuryaman, and M. Usman, “Implementation of Artificial Neural Network With Backpropagation Algorithm for Rating Classification on Sales of Blackmores in Tokopedia,” J. Tek. Inform., vol. 4, no. 2, pp. 365–372, Mar. 2023, doi: 10.52436/1.jutif.2023.4.2.539. DOI: https://doi.org/10.52436/1.jutif.2023.4.2.539

[26] B. A. Darwish, N. M. Salem, G. Kareem, L. N. Mahmoud, and I. Sadek, “Evaluating the Potential of Wearable Technology in Early Stress Detection: A Multimodal Approach.” Jul. 21, 2024, doi: 10.1101/2024.07.19.24310732. DOI: https://doi.org/10.21203/rs.3.rs-4775728/v1

[27] S. Prusty, S. Patnaik, and S. K. Dash, “SKCV: Stratified K-fold cross-validation on ML classifiers for predicting cervical cancer,” Front. Nanotechnol., vol. 4, Aug. 2022, doi: 10.3389/fnano.2022.972421. DOI: https://doi.org/10.3389/fnano.2022.972421

[28] R. Balestriero, L. Bottou, and Y. LeCun, “The Effects of Regularization and Data Augmentation are Class Dependent,” Adv. Neural Inf. Process. Syst., vol. 35, 2022, [Online]. Available: https://proceedings.neurips.cc/paper_files/paper/2022/hash/f73c04538a5e1cad40ba5586b4b517d3-Abstract-Conference.html.

[29] D. Krstajic, L. J. Buturovic, D. E. Leahy, and S. Thomas, “Cross-validation pitfalls when selecting and assessing regression and classification models,” J. Cheminform., vol. 6, no. 1, p. 10, Dec. 2014, doi: 10.1186/1758-2946-6-10. DOI: https://doi.org/10.1186/1758-2946-6-10

[30] S. Zhang and J. Li, “KNN Classification With One-Step Computation,” IEEE Trans. Knowl. Data Eng., vol. 35, no. 3, pp. 2711–2723, 2023, doi: 10.1109/TKDE.2021.3119140. DOI: https://doi.org/10.1109/TKDE.2021.3119140

[31] I. M. Karo Karo, A. Khosuri, J. S. I. Septory, and D. P. Supandi, “Pengaruh Metode Pengukuran Jarak pada Algoritma k-NN untuk Klasifikasi Kebakaran Hutan dan Lahan,” J. Media Inform. Budidharma, vol. 6, no. 2, p. 1174, Apr. 2022, doi: 10.30865/mib.v6i2.3967. DOI: https://doi.org/10.30865/mib.v6i2.3967

[32] M. Suyal and P. Goyal, “A Review on Analysis of K-Nearest Neighbor Classification Machine Learning Algorithms based on Supervised Learning,” Int. J. Eng. Trends Technol., vol. 70, no. 7, pp. 43–48, Jul. 2022, doi: 10.14445/22315381/IJETT-V70I7P205. DOI: https://doi.org/10.14445/22315381/IJETT-V70I7P205

[33] W. Wahyono, I. N. P. Trisna, S. L. Sariwening, M. Fajar, and D. Wijayanto, “Comparison of distance measurement on k-nearest neighbour in textual data classification,” J. Teknol. dan Sist. Komput., vol. 8, no. 1, pp. 54–58, Jan. 2020, doi: 10.14710/jtsiskom.8.1.2020.54-58. DOI: https://doi.org/10.14710/jtsiskom.8.1.2020.54-58

[34] A. A. Heidari, S. Mirjalili, H. Faris, I. Aljarah, M. Mafarja, and H. Chen, “Harris hawks optimization: Algorithm and applications,” Futur. Gener. Comput. Syst., vol. 97, pp. 849–872, Aug. 2019, doi: 10.1016/j.future.2019.02.028. DOI: https://doi.org/10.1016/j.future.2019.02.028

[35] P. Yang et al., “Hybrid Random Forest-Based Models for Earth Pressure Balance Tunneling-Induced Ground Settlement Prediction,” Appl. Sci., vol. 13, no. 4, 2023, doi: 10.3390/app13042574. DOI: https://doi.org/10.3390/app13042574

[36] J. Zhou, Y. Chen, H. Chen, M. Khandelwal, M. Monjezi, and K. Peng, “Hybridizing five neural-metaheuristic paradigms to predict the pillar stress in bord and pillar method,” Front. Public Heal., vol. 11, 2023, doi: 10.3389/fpubh.2023.1119580. DOI: https://doi.org/10.3389/fpubh.2023.1119580

[37] Firdaus, Ontoseno Penangsang, Rony Seto Wibowo, and Umar, “Alokasi Optimal DG Sumber Energi Terbarukan Menggunakan Algoritme Multi-Verse Optimizer,” J. Nas. Tek. Elektro dan Teknol. Inf., vol. 10, no. 3, pp. 291–299, 2021, doi: 10.22146/jnteti.v10i3.1462. DOI: https://doi.org/10.22146/jnteti.v10i3.1462

[38] H. Tabrizchi, M. Tabrizchi, and H. Tabrizchi, “Breast cancer diagnosis using a multi-verse optimizer-based gradient boosting decision tree,” SN Appl. Sci., vol. 2, no. 4, 2020, doi: 10.1007/s42452-020-2575-9. DOI: https://doi.org/10.1007/s42452-020-2575-9

[39] P. V. H. Son and N. T. Nguyen Dang, “Solving large-scale discrete time–cost trade-off problem using hybrid multi-verse optimizer model,” Sci. Rep., vol. 13, no. 1, pp. 1–24, 2023, doi: 10.1038/s41598-023-29050-9. DOI: https://doi.org/10.1038/s41598-023-29050-9

[40] T. M. Amado and J. C. Dela Cruz, “Development of Machine Learning-based Predictive Models for Air Quality Monitoring and Characterization,” in TENCON 2018 - 2018 IEEE Region 10 Conference, Oct. 2018, pp. 0668–0672, doi: 10.1109/TENCON.2018.8650518. DOI: https://doi.org/10.1109/TENCON.2018.8650518

[41] D. Kushwaha, A. Sharma, S. Tiwari, A. Singh, Y. N. Prajapati, and P. Bose, “Machine Learning-Based Prediction of Air Quality Index: A Comprehensive Analysis,” 2025, pp. 143–153. DOI: https://doi.org/10.1007/978-981-96-6515-0_12

[42] M. Castelli, F. M. Clemente, A. Popovic, S. Silva, and L. Vanneschi, “A Machine Learning Approach to Predict Air Quality in California,” Complexity, vol. 2020, pp. 1–23, Aug. 2020, doi: 10.1155/2020/8049504. DOI: https://doi.org/10.1155/2020/8049504

Downloads

Published

2025-12-23

How to Cite

[1]
M. M. Rizky, “KNN-MVO-SMOTE Algorithm for Air Quality Imbalanced Data Classification”, International Journal of Advances in Data and Information Systems, vol. 6, no. 3, pp. 811–823, Dec. 2025, doi: 10.59395/ijadis.v6i3.1424.

Share



Plum Analytics


Similar Articles

71-80 of 185

You may also start an advanced similarity search for this article.