Prediksi Konsentrasi CO(GT) Menggunakan Long Short-Term Memory pada Data Sensor Kualitas Udara IoT


Authors

  • Asep Arwan Sulaeman Universitas Pelita Bangsa, Bekasi, Indonesia
  • Candra Naya Universitas Pelita Bangsa, Bekasi, Indonesia
  • Ahmad Turmudi Zy Universitas Pelita Bangsa, Bekasi, Indonesia
  • Riyadi Riyadi Universitas Pelita Bangsa, Bekasi, Indonesia

DOI:

https://doi.org/10.47065/bulletincsr.v6i4.1162

Keywords:

Air Quality; Internet of Things; Long Short-Term Memory; Prediction; Air Quality UCI

Abstract

Air quality deterioration has become a major challenge for public health and environmental management in urban areas. Internet of Things (IoT)-based monitoring systems continuously generate sensor data that can be exploited for air quality prediction; however, these datasets commonly contain missing values, noise, and temporal dependencies that may reduce prediction accuracy. This study proposes a Long Short-Term Memory (LSTM)-based model to predict carbon monoxide (CO(GT)) concentrations using the Air Quality UCI dataset, which consists of 9,357 observations and 15 attributes. During preprocessing, -200 values were identified as missing-value indicators, followed by invalid-data handling, Min-Max normalization, and sequence generation using a sliding-window approach with a window size of four. The processed data were divided into training and testing sets using an 80:20 ratio. The prediction model employs a single LSTM layer with 50 hidden units and a Dense output layer and is trained using the Adam optimizer for 50 epochs. Experimental results achieved a Mean Absolute Error (MAE) of 0.0389 and a Root Mean Squared Error (RMSE) of 0.0567, indicating that the proposed model effectively captures temporal patterns in air quality observations with relatively low prediction errors. These findings are consistent with previous studies reporting the effectiveness of LSTM for air quality forecasting and demonstrate its potential to support continuous IoT-based environmental monitoring systems. Future work may incorporate hyperparameter optimization and comparative evaluations with alternative deep learning architectures to further improve predictive performance.

Downloads

Download data is not yet available.

References

B. Karimi and S. Samadi, “Long-term exposure to air pollution on cardio-respiratory, and lung cancer mortality: a systematic review and meta-analysis,” J. Environ. Health Sci. Eng., vol. 22, no. 1, pp. 75–95, May 2024, doi: 10.1007/s40201-024-00900-6.

M. S. Tavares, C. T. Rodrigues, S. L. S. de Menezes, and A. M. Moreno, “Health at Risk: Air Pollution and Urban Vulnerability—Perspectives in Light of the 2030 Agenda,” Green Health, vol. 1, no. 3, p. 21, Nov. 2025, doi: 10.3390/greenhealth1030021.

S. Chadalavada et al., “Application of artificial intelligence in air pollution monitoring and forecasting: A systematic review,” Environmental Modelling & Software, vol. 185, p. 106312, Feb. 2025, doi: 10.1016/j.envsoft.2024.106312.

A. Garcia, Y. Saez, I. Harris, X. Huang, and E. Collado, “Advancements in air quality monitoring: a systematic review of IoT-based air quality monitoring and AI technologies,” Artif. Intell. Rev., vol. 58, no. 9, p. 275, Jun. 2025, doi: 10.1007/s10462-025-11277-9.

D. N. Azizah, S. Heranurweni, and L. O. M. Idris, “Internet of Things Based Air Quality Monitoring System with Automatic Notification,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 5, no. 3, pp. 776–787, Jun. 2025, doi: 10.57152/malcom.v5i3.1945.

D. N. Azizah, S. Heranurweni, and L. O. M. Idris, “Internet of Things Based Air Quality Monitoring System with Automatic Notification,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 5, no. 3, pp. 776–787, Jun. 2025, doi: 10.57152/malcom.v5i3.1945.

C. Liu et al., “Characteristics and mechanism of a persistent ozone pollution event in Pearl River Delta induced by typhoon and subtropical high,” Atmos. Environ., vol. 310, p. 119964, Oct. 2023, doi: 10.1016/j.atmosenv.2023.119964.

A. E. Edje, M. S. Abd Latiff, and W. H. Chan, “IoT data analytic algorithms on edge-cloud infrastructure: A review,” Digital Communications and Networks, vol. 9, no. 6, pp. 1486–1515, Dec. 2023, doi: 10.1016/j.dcan.2023.10.002.

F. Ares-Robledo, H. Rifà-Pous, and R. Clarisó, “Graph neural networks for anomaly detection: a systematic review of dynamic temporal approaches,” Artif. Intell. Rev., vol. 59, no. 5, p. 129, Mar. 2026, doi: 10.1007/s10462-026-11532-7.

D. C. Joshi et al., “Fine particulate matter (PM2.5, PM10): A silent catalyst for chronic lung diseases in India; a comprehensive review,” Environmental Challenges, vol. 20, p. 101215, Sep. 2025, doi: 10.1016/j.envc.2025.101215.

J. W. Sitanggang, E. Sunarsih, and H. Hasyim, “Literature Review: Analysis of Exposure of Vehicle Emission Gases (Co, No2, So2, Pm2.5, and Pm10) to Public Health Risks,” Journal of Social Research, vol. 2, no. 7, pp. 2278–2287, Jun. 2023, doi: 10.55324/josr.v2i7.1142.

D. P. S. Sudibya, D. A. A. Afaaf, L. Satria, N. U. P. Prasna, and U. Kamal, “Implementasi Kebijakan Baku Mutu Udara Sebagai Bentuk Penanggulanan Pemanasan Global,” Jurnal Ilmu Sosial dan Humaniora, vol. 3, no. 4, pp. 571–598, Jun. 2025, doi: 10.57248/jishum.v3i4.593.

W. M. S. Bandara and W. A. R. De Mel, “Forecasting Nonlinear Time Series with ARIMA, ANN, and Hybrid Models: A Case Study on Inflation Rate in Sri Lanka,” Indonesian Journal of Statistics and Its Applications, vol. 9, no. 1, pp. 145–156, Jun. 2025, doi: 10.29244/ijsa.v9i1p145-156.

M. Karmoude et al., “Machine learning for air quality prediction and data analysis: Review on recent advancements, challenges, and outlooks,” Science of The Total Environment, vol. 1002, p. 180593, Nov. 2025, doi: 10.1016/j.scitotenv.2025.180593.

R. Espinosa, J. Palma, F. Jiménez, J. Kami?ska, G. Sciavicco, and E. Lucena-Sánchez, “A time series forecasting based multi-criteria methodology for air quality prediction,” Appl. Soft Comput., vol. 113, p. 107850, Dec. 2021, doi: 10.1016/j.asoc.2021.107850.

M. Rajesh, R. G. Babu, U. Moorthy, and S. V. Easwaramoorthy, “Machine learning-driven framework for realtime air quality assessment and predictive environmental health risk mapping,” Sci. Rep., vol. 15, no. 1, p. 28801, Aug. 2025, doi: 10.1038/s41598-025-14214-6.

Vella Puspitasari Wijayanti and Adie Wahyudi Oktavia Gama, “Analisis Model Long Short-Term Memory (LSTM) untuk Prediksi Kadar Particulate Matter 2.5,” Jurnal ilmiah Sistem Informasi dan Ilmu Komputer, vol. 6, no. 1, pp. 616–629, Mar. 2026, doi: 10.55606/juisik.v6i1.2228.

C. W. Chen Wang, B. L. Chen Wang, J. C. Bingchun Liu, and X. Y. Jiali Chen, “Air Quality Index Prediction Based on a Long Short-Term Memory Artificial Neural Network Model,” J. Comput. (Taipei)., vol. 34, no. 2, pp. 069–079, Apr. 2023, doi: 10.53106/199115992023043402006.

S. Raheja and S. Malik, “Prediction of Air Quality Using LSTM Recurrent Neural Network,” International Journal of Software Innovation, vol. 10, no. 1, pp. 1–16, Apr. 2022, doi: 10.4018/IJSI.297982.

Y. Sudriani, I. Ridwansyah, and H. A Rustini, “Long short term memory (LSTM) recurrent neural network (RNN) for discharge level prediction and forecast in Cimandiri river, Indonesia,” IOP Conf. Ser. Earth Environ. Sci., vol. 299, p. 012037, Jul. 2019, doi: 10.1088/1755-1315/299/1/012037.

R. Sudha, A. Damodaran, and G. Manohar, “Enhanced air quality prediction using adaptive residual Bi-LSTM with pyramid dilation and optimal weighted feature selection,” Sci. Rep., vol. 15, no. 1, p. 30428, Aug. 2025, doi: 10.1038/s41598-025-14668-8.

N. S. Muruganandam and U. Arumugam, “Seminal Stacked Long Short-Term Memory (SS-LSTM) Model for Forecasting Particulate Matter (PM2.5 and PM10),” Atmosphere (Basel)., vol. 13, no. 10, p. 1726, Oct. 2022, doi: 10.3390/atmos13101726.

Dani Rofianto et al., “IoT-Based Smart Irrigation and Fertilization System with Realtime Cloud Integration,” Jurnal Nasional Teknik Elektro dan Teknologi Informasi, vol. 15, no. 1, pp. 34–43, Feb. 2026, doi: 10.22146/jnteti.v15i1.23124.

M. Ansari and M. Alam, “An Intelligent IoT-Cloud-Based Air Pollution Forecasting Model Using Univariate Time-Series Analysis,” Arab. J. Sci. Eng., vol. 49, no. 3, pp. 3135–3162, Mar. 2024, doi: 10.1007/s13369-023-07876-9.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Prediksi Konsentrasi CO(GT) Menggunakan Long Short-Term Memory pada Data Sensor Kualitas Udara IoT

Dimensions Badge

ARTICLE HISTORY

Published: 2026-06-30

Abstract View: 2 times
PDF Download: 0 times

How to Cite

Sulaeman, A. A., Naya, C., Zy, A. T., & Riyadi, R. (2026). Prediksi Konsentrasi CO(GT) Menggunakan Long Short-Term Memory pada Data Sensor Kualitas Udara IoT. Bulletin of Computer Science Research, 6(4), 1614-1624. https://doi.org/10.47065/bulletincsr.v6i4.1162

Issue

Section

Articles