International Journal of Advances in Data and Information Systems
Vol. 7 No. 2 (2026): August 2026 - International Journal of Advances in Data and Information Systems

Impact of DTW-Based K-Medoids and Fuzzy C-Means Clustering on the Forecasting Accuracy of ARIMA, TCN, and Hybrid Models in Anomalous Time Series

Meavi Cintani (Statistics and Science Data, School of Data Science Mathematics and Informatics, IPB University, Indonesia)
I Made Sumertajaya (Statistics and Science Data, School of Data Science Mathematics and Informatics, IPB University, Indonesia)
Yenni Angraini (Statistics and Science Data, School of Data Science Mathematics and Informatics, IPB University, Indonesia)



Article Info

Publish Date
11 Aug 2026

Abstract

This study investigates the impact of Dynamic Time Warping (DTW)-based clustering on forecasting accuracy in anomalous time series data. Monthly export values from 30 provinces in Indonesia are clustered using K-Medoids and Fuzzy C-Means (FCM) based on DTW distances reduced through Multidimensional Scaling (MDS). Cluster validation results indicate that FCM demonstrates better stability under anomalous conditions, with a Silhouette Score of 0.62 and a Davies–Bouldin Index of 0.57, compared to K-Medoids with a Silhouette Score of 0.61 and a Davies–Bouldin Index of 0.58. Forecasting performance is systematically evaluated through an expanding-window scheme using standalone ARIMA and Temporal Convolutional Network (TCN) models as baselines against a hybrid ARIMA–TCN approach. The results show that the hybrid ARIMA–TCN model achieves the lowest Mean Absolute Percentage Error (MAPE) in clusters with relatively stable patterns by effectively combining linear and non-linear components. However, for clusters characterized by higher volatility and irregular patterns, the standalone TCN model yields better forecasting accuracy. Furthermore, FCM clustering produces better overall forecasting accuracy, with an average MAPE of 7.11%, compared to 8.42% for K-Medoids. The relatively small difference in evaluation results between clean and empirical data suggests that the proposed DTW–MDS–clustering–forecasting framework maintains consistent performance in the presence of anomalies. The final model is then applied to generate export forecasts for the next 12 periods.

Copyrights © 2026






Journal Info

Abbrev

IJADIS

Publisher

Subject

Computer Science & IT Electrical & Electronics Engineering

Description

International Journal of Advances in Data and Information Systems (IJADIS) (e-ISSN: 2721-3056) is a peer-reviewed journal in the field of data science and information system that is published twice a year; scheduled in April and October. The journal is published for those who wish to share ...