A Comparative Study of Machine Learning Models for Hourly Forecasting of Air Temperature and Relative Humidity
Jiaqi Dong

TL;DR
This study systematically compares seven machine learning models for hourly air temperature and humidity forecasting in Chongqing, finding that XGBoost outperforms others with high accuracy and robustness.
Contribution
It introduces a unified evaluation framework and demonstrates the superior performance of tree-based ensemble models for meteorological time-series prediction.
Findings
XGBoost achieved the lowest MAE for temperature and humidity.
Tree-based models showed higher accuracy than neural networks.
The study provides practical guidance for urban meteorological forecasting.
Abstract
Accurate short-term forecasting of air temperature and relative humidity is critical for urban management, especially in topographically complex cities such as Chongqing, China. This study compares seven machine learning models: eXtreme Gradient Boosting (XGBoost), Random Forest, Support Vector Regression (SVR), Multi-Layer Perceptron (MLP), Decision Tree, Long Short-Term Memory (LSTM) networks, and Convolutional Neural Network (CNN)-LSTM (CNN-LSTM), for hourly prediction using real-world open data. Based on a unified framework of data preprocessing, lag-feature construction, rolling statistical features, and time-series validation, the models are systematically evaluated in terms of predictive accuracy and robustness. The results show that XGBoost achieves the best overall performance, with a test mean absolute error (MAE) of 0.302 {\deg}C for air temperature and 1.271% for relative…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsUrban Heat Island Mitigation · Air Quality Monitoring and Forecasting · Hydrological Forecasting Using AI
