Evaluating the Integration of Fuzzy and Non-Fuzzy Clustering Approaches into LSTM for the Power Consumption Forecasting Utilizing the Case Study Dataset of Tetuan City

Authors

  • Eko Adi Sarwoko Department of Informatics, Faculty of Science and Mathematics, Diponegoro University, Indonesia
  • Etna Vianita Department of Informatics, Faculty of Science and Mathematics, Diponegoro University, Indonesia
  • Adi Wibowo Department of Informatics, Faculty of Science and Mathematics, Diponegoro University, Indonesia
Volume: 15 | Issue: 5 | Pages: 26689-26696 | October 2025 | https://doi.org/10.48084/etasr.11938

Abstract

This study explores the integration of fuzzy and non-fuzzy clustering techniques into Long Short-Term Memory (LSTM) networks for short-term electricity consumption forecasting. Using a high-resolution dataset from Tetuan City, Morocco, three LSTM-based configurations were evaluated to assess the effects of contextual clustering on the model accuracy. While the proposed LSTM with K-Means model yielded a slightly higher Root Mean Square Error (RMSE) and Mean Absolute Error (MAE) compared to a prior Multilayer Perceptron (MLP) with Fuzzy C-Means (FCM) baseline, it achieved a superior coefficient of determination () of 0.9978, indicating enhanced variance explanation. The findings suggest that incorporating non-fuzzy clustering into deep temporal models offers a practical alternative to fuzzy-based approaches, particularly in scenarios where the long-term sequence patterns are critical.

Keywords:

LSTM, power consumption forecasting, time series, clustering, Fuzzy C-Means (FCM), K-Means

Downloads

Download data is not yet available.

References

Y. Moon, Y. Lee, Y. Hwang, and J. Jeong, "Long Short-Term Memory Autoencoder and Extreme Gradient Boosting-Based Factory Energy Management Framework for Power Consumption Forecasting," Energies, vol. 17, no. 15, Jul. 2024, Art. no. 3666.

D. Kaur, S. N. Islam, M. A. Mahmud, M. E. Haque, and Z. Dong, "Energy Forecasting in Smart Grid Systems: A Review of the State-of-the-art Techniques," IET Research Journals, pp. 1–15, 2020.

M. D. Alanazi et al., "Enhancing Short-Term Electrical Load Forecasting for Sustainable Energy Management in Low-Carbon Buildings," Sustainability, vol. 15, no. 24, Dec. 2023, Art. no. 16885.

K. Roy, A. Ishmam, and K. A. Taher, "Demand Forecasting in Smart Grid Using Long Short-Term Memory," in 2021 International Conference on Automation, Control and Mechatronics for Industry 4.0, Rajshahi, Bangladesh, Jul. 2021, pp. 1–5.

M. Frikha, K. Taouil, A. Fakhfakh, and F. Derbel, "Predicting Power Consumption Using Deep Learning with Stationary Wavelet," Forecasting, vol. 6, no. 3, pp. 864–884, Sep. 2024.

J. J. C. Magdalene and B. S. E. Zoraida, "Prediction of Energy Consumption in a Smart Home Using Deepened K-Means Clustering ARIMA Model," Ilkogretim Online - Elementary Education Online, vol. 20, no. 4, pp. 1171–1178, 2021.

S. Hochreiter and J. Schmidhuber, "Long Short-Term Memory," Neural Computation, vol. 9, no. 8, pp. 1735–1780, Nov. 1997.

N. Al Khafaf, M. Jalili, and P. Sokolowski, "Application of Deep Learning Long Short-Term Memory in Energy Demand Forecasting," in Communications in Computer and Information Science, Cham, Switzerland: Springer International Publishing, 2019, pp. 31–42.

S. Emshagin, W. K. Halim, and R. Kashef, "Short-term Prediction of Household Electricity Consumption Using Customized LSTM and GRU Models." arXiv, 2022.

C. Ubal, G. Di-Giorgi, J. E. Contreras-Reyes, and R. Salas, "Predicting the Long-Term Dependencies in Time Series Using Recurrent Artificial Neural Networks," Machine Learning and Knowledge Extraction, vol. 5, no. 4, pp. 1340–1358, Oct. 2023.

K. Alsalem, "A hybrid time series forecasting approach integrating fuzzy clustering and machine learning for enhanced power consumption prediction," Scientific Reports, vol. 15, no. 1, Feb. 2025.

S. Muzaffar and A. Afshari, "Short-Term Load Forecasts Using LSTM Networks," Energy Procedia, vol. 158, pp. 2922–2927, Feb. 2019.

N. T. Dung and N. T. Phuong, "Short-Term Electric Load Forecasting Using Standardized Load Profile (SLP) And Support Vector Regression (SVR)," Engineering, Technology & Applied Science Research, vol. 9, no. 4, pp. 4548–4553, Aug. 2019.

I. Malashin, V. Tynchenko, A. Gantimurov, V. Nelyub, and A. Borodulin, "Applications of Long Short-Term Memory (LSTM) Networks in Polymeric Sciences: A Review," Polymers, vol. 16, no. 18, Sep. 2024, Art. no. 2607.

M. Mroua and A. Lamine, "Financial time series prediction under Covid-19 pandemic crisis with Long Short-Term Memory (LSTM) network," Humanities and Social Sciences Communications, vol. 10, no. 1, Aug. 2023.

A. Gafurov, S. Mukharamova, A. Saveliev, and O. Yermolaev, "Advancing Agricultural Crop Recognition: The Application of LSTM Networks and Spatial Generalization in Satellite Data Analysis," Agriculture, vol. 13, no. 9, Aug. 2023, Art. no. 1672.

A. R. Sattarzadeh, R. J. Kutadinata, P. N. Pathirana, and V. T. Huynh, "A novel hybrid deep learning model with ARIMA Conv-LSTM networks and shuffle attention layer for short-term traffic flow prediction," Transportmetrica A: Transport Science, vol. 21, no. 1, Jan. 2025.

W. Wang, J. Shao, and H. Jumahong, "Fuzzy inference-based LSTM for long-term time series prediction," Scientific Reports, vol. 13, no. 1, Nov. 2023.

M. A. A. Al-qaness, A. A. Ewees, A. O. Aseeri, and M. Abd Elaziz, "Wind power forecasting using optimized LSTM by attraction–repulsion optimization algorithm," Ain Shams Engineering Journal, vol. 15, no. 12, Dec. 2024, Art. no. 103150.

M. Ghorvei et al., "A comparative analysis of unsupervised machine‐learning methods in PSG‐related phenotyping," Journal of Sleep Research, vol. 34, no. 3, Jun. 2025.

D. Li, S. Zhou, and W. Pedrycz, "Accelerated Fuzzy C-Means Clustering Based on New Affinity Filtering and Membership Scaling," IEEE Transactions on Knowledge and Data Engineering, vol. 35, no. 12, pp. 12337–12349, Dec. 2023.

Q. Yang, G. Han, W. Gao, Z. Yang, S. Zhu, and Y. Deng, "A Robust Learning Membership Scaling Fuzzy C-Means Algorithm Based on New Belief Peak," IEEE Transactions on Fuzzy Systems, vol. 31, no. 12, pp. 4486–4500, Dec. 2023.

Z. Shi et al., "IFKMHC: Implicit Fuzzy K-Means Model for High-Dimensional Data Clustering," IEEE Transactions on Cybernetics, vol. 54, no. 12, pp. 7955–7968, Dec. 2024.

D. Tan, Z. Huang, X. Peng, W. Zhong, and V. Mahalec, "Deep Adaptive Fuzzy Clustering for Evolutionary Unsupervised Representation Learning," IEEE Transactions on Neural Networks and Learning Systems, vol. 35, no. 5, pp. 6103–6117, May 2024.

I. Lahmar, A. Zaier, M. Yahia, T. Ali, and R. Boaullegue, "Fuzzy Divergence Weighted Ensemble Clustering With Spectral Learning Based on Random Projections for Big Data," IEEE Access, vol. 12, pp. 20197–20208, 2024.

Downloads

How to Cite

[1]
E. A. Sarwoko, E. Vianita, and A. Wibowo, “Evaluating the Integration of Fuzzy and Non-Fuzzy Clustering Approaches into LSTM for the Power Consumption Forecasting Utilizing the Case Study Dataset of Tetuan City”, Eng. Technol. Appl. Sci. Res., vol. 15, no. 5, pp. 26689–26696, Oct. 2025.

Metrics

Abstract Views: 28
PDF Downloads: 16

Metrics Information