Prediction of Indoor CO2 Concentration in a University Hospital Using Machine Learning Algorithms

Machine Learning (ML) models effectively capture complex, nonlinear, multimodal, and time-dependent patterns in indoor environments. In thisstudy, the relationship between indoor CO2 concentrations and environmental variables in different areas of a university hospital was investigated using ML methods. The dataset is a total of 114, including 80% train and 20% test. CO2 concentration measured at 16:00 was defined as the target variable, while eight inputs (number of occupants, room volume, room floor area, average relative humidity, average temperature, average CO2 concentration, the change in CO2 concentration, room orientation) were selected as model inputs. Artificial Neural Network (ANN), Extreme Gradient Boosting (XGBoost), Random Forest (RF) and Linear Regression were applied to predict CO2 concentration. Model performance was evaluated based on prediction accuracy criteria, such as Mean Absolute Percentage Error (MAPE), Coefficient of Determination (R2), Mean Absolute Error (MAE), and Root Mean Squared Error (RMSE), so it enabled a comparative consideration of their effectiveness. When CO2-related variables were included, RF achieved the best performance (R2 = 0.804, MAPE = 8.34%, MAE = 70.65, RMSE = 104.24), followed by XGBoost (R2 = 0.776, MAPE = 9.07%, MAE = 78.10, RMSE = 111.44). In contrast, ANN (R2 = 0.250, MAPE = 19.62%, MAE = 159.81, RMSE = 203.72) and Linear Regression (R2 = 0.175, MAPE = 19.44%, MAE = 169.37, RMSE = 213.77) showed comparatively lower predictive performance. Overall, the results indicate that tree-based ML models can provide promising predictive performance and practical insights for indoor air quality monitoring and management in healthcare facilities, while their applicability and generalizability could be further strengthened through future evaluations involving data from diverse healthcare environments.

Authors

Institutions

Publication Details

Journal
Buildings
Published
2026-08-18
DOI
https://doi.org/10.3390/buildings16163275
Primary Topic
Indoor Air Quality and Microbial Exposure
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Prediction of Indoor CO2 Concentration in a University Hospital Using Machine Learning Algorithms

Otilia Elena Dragomir, Melek IŞIK, Yelda DURGUN ŞAHİN, Serhat Doğan
Buildings
Indoor Air Quality and Microbial Exposure
article

Prediction of Indoor CO2 Concentration in a University Hospital Using Machine Learning Algorithms

Otilia Elena Dragomir, Melek IŞIK, Yelda DURGUN ŞAHİN, Serhat Doğan
article en

Abstract

Machine Learning (ML) models effectively capture complex, nonlinear, multimodal, and time-dependent patterns in indoor environments. In thisstudy, the relationship between indoor CO2 concentrations and environmental variables in different areas of a university hospital was investigated using ML methods. The dataset is a total of 114, including 80% train and 20% test. CO2 concentration measured at 16:00 was defined as the target variable, while eight inputs (number of occupants, room volume, room floor area, average relative humidity, average temperature, average CO2 concentration, the change in CO2 concentration, room orientation) were selected as model inputs. Artificial Neural Network (ANN), Extreme Gradient Boosting (XGBoost), Random Forest (RF) and Linear Regression were applied to predict CO2 concentration. Model performance was evaluated based on prediction accuracy criteria, such as Mean Absolute Percentage Error (MAPE), Coefficient of Determination (R2), Mean Absolute Error (MAE), and Root Mean Squared Error (RMSE), so it enabled a comparative consideration of their effectiveness. When CO2-related variables were included, RF achieved the best performance (R2 = 0.804, MAPE = 8.34%, MAE = 70.65, RMSE = 104.24), followed by XGBoost (R2 = 0.776, MAPE = 9.07%, MAE = 78.10, RMSE = 111.44). In contrast, ANN (R2 = 0.250, MAPE = 19.62%, MAE = 159.81, RMSE = 203.72) and Linear Regression (R2 = 0.175, MAPE = 19.44%, MAE = 169.37, RMSE = 213.77) showed comparatively lower predictive performance. Overall, the results indicate that tree-based ML models can provide promising predictive performance and practical insights for indoor air quality monitoring and management in healthcare facilities, while their applicability and generalizability could be further strengthened through future evaluations involving data from diverse healthcare environments.

BuildingsVol. 16(16)
Valahia University of Targoviste (RO), Adana Science and Technology University (TR), Cukurova University (TR)
Openalex Percentile: Top 11%
Indoor Air Quality and Microbial Exposure
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.