Accurate, low-latency weather intelligence plays a critical role in renewable energy integration, smart grid stability, and climate-resilient infrastructure planning. Conventional numerical weather prediction approaches, while physically robust, are computationally intensive and often unsuitable for localized and real-time decision-making in distributed energy environments. This work proposes an energy-aware machine learning framework for multi-class weather classification designed to support edge-enabled renewable energy systems and data-driven urban energy management. A decade-long historical meteorological dataset (2014–2023) containing hourly weather observations is utilized to train and evaluate multiple supervised learning models under a unified experimental protocol.
Four widely adopted classifiers—Decision Trees, Gaussian kernel Support Vector Machines, Feedforward Neural Networks, and Ensemble (Bagging) methods—are systematically compared using consistent preprocessing, temporal feature extraction, five-fold cross-validation, and Bayesian hyperparameter optimization. Model performance is assessed using both predictive and computational metrics, including classification accuracy, macro-averaged F1-score, ROC-AUC, training time, and inference throughput. This dual-metric evaluation enables explicit quantification of the trade-off between predictive quality and computational energy demand, which is a critical factor in edge and embedded deployment scenarios.
Experimental results indicate that Ensemble (Bagging) achieves the highest predictive performance with an accuracy of 85.44% and ROC-AUC of 0.91, demonstrating strong generalization across diverse weather categories. Gaussian SVM provides near-comparable accuracy with reduced training overhead, offering a balanced compromise between precision and computational burden. Decision Trees exhibit exceptional inference speed exceeding 590,000 observations per second, highlighting their suitability for real-time and low-power edge applications despite comparatively lower accuracy. Neural Networks deliver moderate but stable performance across all metrics, emphasizing the influence of architecture depth and optimization strategies on tabular meteorological data.
The findings reveal a clear accuracy–efficiency frontier that supports application-specific model selection for renewable energy forecasting, solar and wind resource assessment, smart city weather sensing, and distributed energy management systems. Conceptual edge-AI deployment analysis further suggests that lightweight classifiers can significantly reduce computational energy consumption while maintaining acceptable predictive reliability. This research contributes an energy-conscious, scalable machine learning approach that bridges artificial intelligence and sustainable energy infrastructures, enabling more resilient, adaptive, and environmentally responsible smart energy ecosystems.
