Bulletin of Computer Science Research
Vol. 6 No. 4 (2026): June 2026

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

Asep Arwan Sulaeman (Universitas Pelita Bangsa, Bekasi)
Candra Naya (Universitas Pelita Bangsa, Bekasi)
Ahmad Turmudi Zy (Universitas Pelita Bangsa, Bekasi)
Riyadi Riyadi (Universitas Pelita Bangsa, Bekasi)



Article Info

Publish Date
30 Jun 2026

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.

Copyrights © 2026






Journal Info

Abbrev

bulletincsr

Publisher

Subject

Computer Science & IT

Description

Bulletin of Computer Science Research covers the whole spectrum of Computer Science, which includes, but is not limited to : • Artificial Immune Systems, Ant Colonies, and Swarm Intelligence • Bayesian Networks and Probabilistic Reasoning • Biologically Inspired Intelligence • Brain-Computer ...