Leveraging Hybrid Ensemble Machine Learning Techniques for Thermal Comfort Prediction of Buildings in Nairobi, Kenya
| dc.contributor.author | Nzue, Joseph Muasya | |
| dc.date.accessioned | 2026-11-27T03:30:20Z | |
| dc.date.issued | 2026-11-27 | |
| dc.description | A Master's Thesis submitted in partial fulfilment of the requirements for the Award of the Master of Science in Artificial Intelligence of the Open University of Kenya. Supervisor: Dr. Justus Okonda. | |
| dc.description.abstract | Thermal comfort in buildings is directly affected by climate change due to global temperature rise, making it a critical consideration as it affects the well-being, health, and productivity in the built environment. Machine learning (ML) models offer a viable, affordable alternative; they can learn from complex static and dynamic environmental data and the adaptive behavior of building occupants. The study aims to improve building occupants' productivity by enhancing thermal comfort while reducing energy costs. The study adopted a positivist mixed-methods research design with a purposive sample of buildings across Nairobi, where primary environmental data were collected at the Architecture Design Development building and the University of Nairobi Towers, Nairobi, Kenya. Secondary datasets were collected from the UoN Architecture Department environmental lab to train the model. The model's performance was evaluated using Root Mean Squared Error, R², and Mean Absolute Error. Primary datasets logged from the buildings were used to bridge the data scarcity gap. A hybrid ensemble Machine Learning model was developed by combining non temporal methods, namely Random Forest (RF), Extreme Gradient Boosting (XGBoost), and temporal Gated Recurrent Unit (GRU) to form a robust, thermal comfort prediction model for buildings in Nairobi, Kenya. Fanger Predicted Mean Vote (PMV) was used as the premise for the thermal comfort prediction. The study found that ensemble ML models trained on datasets from temperate climates such as Europe and North America showed poor predictive accuracy due to climatic differences and bias, while the literature review identified a data-scarcity gap in Nairobi's environmental data. Results showed that mean indoor temperatures ranged from 19.40 ± 0.37 °C to 21.60 ± 0.68 °C, while the predicted PMV was -1.12, on the cool side of the ASHRAE 55 band. The hybrid model produced an RMSE of 0.103 PMV units (R² = 0.9147) and an MAE of 0.0183, indicating high prediction precision and strong one-hour thermal comfort forecasting. The results show that the hybrid ensemble model trained with local data accurately predicted thermal comfort and satisfied the ASHRAE Standards. | |
| dc.identifier.uri | https://erepository.ouk.ac.ke/handle/123456789/1690 | |
| dc.language.iso | en | |
| dc.publisher | Open University of Kenya | |
| dc.subject | Thermal Comfort | |
| dc.subject | Green Building | |
| dc.subject | Sustainable Building | |
| dc.subject | Climate Change | |
| dc.subject | Hybrid Ensemble Machine Learning | |
| dc.subject | Random Forest | |
| dc.subject | Gated Recurrent Unit | |
| dc.subject | XGBoost | |
| dc.subject | Predicted Mean Vote | |
| dc.title | Leveraging Hybrid Ensemble Machine Learning Techniques for Thermal Comfort Prediction of Buildings in Nairobi, Kenya | |
| dc.type | Thesis |
