Forecasting Using K-means Clustering and RNN Methods with PCA Feature Selection

Ferna, Marestiani and Sugiyarto, Surono (2022) Forecasting Using K-means Clustering and RNN Methods with PCA Feature Selection. Journal of Data Science, 2022 (04). pp. 1-14. ISSN 2805-5160

[img] Text
jods2022_04.pdf - Published Version
Available under License Creative Commons Attribution.

Download (857kB)
Official URL: http://ipublishing.intimal.edu.my/jods.html

Abstract

Artificial Neural Networks is a computing system that is inspired by how the nervous system works in humans and continues to grow rapidly until now. Just like the nervous system in humans, artificial neural networks work through the process of studying existing data to formulate new data outputs. An artificial neural network using the Recurrent Neural Network (RNN) method is one of the popular models used today, especially in forecasting cases. In simple terms, the forecasting flow using the RNN method begins by dividing the test data and training data, the forward calculation process, the backward calculation process, the optimization calculation, and the evaluation calculation of the forecasting model. The main obstacle of the RNN method is the presence of a vanishing gradient which can cause poor forecasting results. In this study, the authors propose a Principal Component Analysis (PCA) dimension reduction method to obtain the most influential variables and become inputs for the prediction model that is built to minimize existing errors. The author also uses the K-means clustering method to divide the data with similar trend variations. To increase the clustering effect, the researcher used similarity calculation based on Euclidean distance. So that in an effort to build optimal prediction results, first time series data with the most influential variables will be selected using the PCA method. Furthermore, the data are grouped using the K-means method and will be included in the prediction model that is built. In the RNN prediction model, the data will be trained using the Backpropagation Through Time (BPTT) method and the optimization method used is Stochastic Gradient Descent (SGD). Forecasting with the RNN method with PCA produces an accuracy of 93%, while forecasting using the RNN method without PCA produces an accuracy of 82%. The experimental results show that the RNN method with PCA achieves higher predictive accuracy and flexibility than RNN without PCA.

Item Type: Article
Uncontrolled Keywords: PCA, K-means Clustering, RNN, BPTT, SGD
Subjects: Q Science > QA Mathematics > QA75 Electronic computers. Computer science
Q Science > QC Physics
T Technology > T Technology (General)
Depositing User: Unnamed user with email masilah.mansor@newinti.edu.my
Date Deposited: 14 Jun 2022 09:18
Last Modified: 07 May 2024 09:37
URI: http://eprints.intimal.edu.my/id/eprint/1632

Actions (login required)

View Item View Item