A Comparative Study of Machine Learning Models for Hourly Forecasting of Air Temperature and Relative Humidity
arXiv cs.LG / 3/25/2026
💬 OpinionIdeas & Deep AnalysisModels & Research
Key Points
- The paper compares seven machine learning approaches (XGBoost, Random Forest, SVR, MLP, Decision Tree, LSTM, and CNN-LSTM) for hourly forecasting of air temperature and relative humidity in a topographically complex urban setting (Chongqing, China).
- It evaluates the models under a unified experimental pipeline that includes consistent preprocessing, lag-feature engineering, rolling statistical features, and time-series validation.
- Results indicate XGBoost delivers the best overall accuracy, achieving test MAE of 0.302°C for temperature and 1.271% for relative humidity, with an average R2 of 0.989 across both tasks.
- The study concludes that tree-based ensemble methods are particularly effective for structured meteorological time-series forecasting and offers guidance for building intelligent forecasting systems in mountainous cities.
Related Articles
The Security Gap in MCP Tool Servers (And What I Built to Fix It)
Dev.to

Adversarial AI framework reveals mechanisms behind impaired consciousness and a potential therapy
Reddit r/artificial
Why I Switched From GPT-4 to Small Language Models for Two of My Products
Dev.to
Orchestrating AI Velocity: Building a Decoupled Control Plane for Agentic Development
Dev.to
In the Kadrey v. Meta Platforms case, Judge Chabbria's quest to bust the fair use copyright defense to generative AI training rises from the dead!
Reddit r/artificial