A Comparative Study of Machine Learning Algorithms for Electricity Price Forecasting with LIME-Based Interpretability
Research paper by Xuanyi Zhao and collaborators. arXiv record dated 2025-12-01. Research area: Machine learning.
Resource information
- Authors
- Xuanyi Zhao, Jiawen Ding, Xueting Huang, Yibo Zhang
- Research area
- Machine learning
- Application domain
- General AI research
- AI methods
- Machine learning
- Research topics
- cs.LG
- arXiv record date
- 2025-12-01
- Publication
- arXiv
- Upstream last modified
- Dec 2, 2025
- Last record update
- Nov 4, 2026
Abstract
With the rapid development of electricity markets, price volatility has significantly increased, making accurate forecasting crucial for power system operations and market decisions. Traditional linear models cannot capture the complex nonlinear characteristics of electricity pricing, necessitating advanced machine learning approaches. This study compares eight machine learning models using Spanish electricity market data, integrating consumption, generation, and meteorological variables. The models evaluated include linear regression, ridge regression, decision tree, KNN, random forest, gradient boosting, SVR, and XGBoost. Results show that KNN achieves the best performance with R^2 of 0.865, MAE of 3.556, and RMSE of 5.240. To enhance interpretability, LIME analysis reveals that meteorological factors and supply-demand indicators significantly influence price fluctuations through nonlinear relationships. This work demonstrates the effectiveness of machine learning models in electricity price forecasting while improving decision transparency through interpretability analysis.
