Comparing hyperparameter tuning methods in machine learning based urban building energy modeling: A study in Chicago

Steven Jige Quan
DOI: https://doi.org/10.1016/j.enbuild.2024.114353
IF: 7.201
2024-05-28
Energy and Buildings
Abstract:In recent years, many studies have applied machine learning (ML) in urban building energy models (UBEMs) to understand building energy issues in cities. However, previous studies had limited in-depth discussions on hyperparameter tuning, an essential aspect of model training. To address this gap, this study examines the impact of different hyperparameter tuning strategies on the development of ML-based UBEMs, specifically for residential buildings in Chicago. Utilizing a comprehensive dataset that encompasses building, urban, household, and energy management factors, and electricity usage across 2,078 residential block groups in Chicago for the year 2010, this study employs five widely used supervised machine learning (SML) algorithms. Through three experiments, the study found that gradient boosting decision trees generally outperform others. However, hyperparameter tuning can significantly enhance the performance of all tested SML models. The comparison of three tuning methods, grid search, random search, and Bayesian search, revealed that they have similar tuning performance, but random search stands out for its effectiveness, speed, and flexibility. Moreover, the study demonstrates that the suggested search space for hyperparameters yields better results compared to the conventional approaches in most cases. Interestingly, altering the search budget appeared to have minimal impact on the tuning effectiveness. Employing repeated cross-validation methods helped mitigate the issues associated with random data splits in the validation process, leading to more reliable tuning outcomes. Further investigations into the scalability of training datasets and the evaluation of models using alternative accuracy metrics and considerations of model inductive bias provided additional insights. These findings informed recommendations regarding hyperparameter tuning strategies, optimal sample sizes, and model evaluation techniques. Overall, this research contributes to a deeper understanding of the role of hyperparameter tuning in the development of ML-based UBEMs, offering valuable insights for energy-efficient urban planning and policymaking toward sustainable city development.
energy & fuels,engineering, civil,construction & building technology
What problem does this paper attempt to address?