Abstract
We have developed a procedure for hierarchical agglomerative clustering of time series data. To measure the dissimilarity between these data, we use classically the Euclidean distance or we apply the costs of the series nonlinear alignment (time warping). In the latter approach, we use the classical costs or the modified ones. The modification consists in matching short signal segments instead of single signal samples. The procedure is applied to a few datasets from the internet archive of time series. In this archive, the series of the same classes possess visual similarity but their time evolution is often different (the characteristic waves have different location within the individual signals). Therefore the use of the Euclidean distance as the dissimilarity measure gives poor results. After time warping, the nonlinearly aligned signals match each other better, and therefore the total cost of the alignment appears to be a much more effective measure. It results in higher values of the Purity index used to evaluate the results of clustering. In most cases, the proposed modification of the alignment costs definition leads to still higher values of the index.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Bellman, R.E., Dreyfus, S.E.: Applied Dynamic Programming. Princeton University Press, Princeton (2015)
Bien, J., Tibshirani, R.: Hierarchical clustering with prototypes via minimax linkage. J. Am. Stat. Assoc. 106(495), 1075–1084 (2011)
Chen, Y., Keogh, E., Hu, B., Begum, N., Bagnall, A., Mueen, A., Batista, G.: The UCR Time Series Classification Archive (2015). http://www.cs.ucr.edu/~eamonn/time_series_data/
Everitt, B.S., Landau, S., Leese, M., Stahl, D.: Hierarchical Clustering, pp. 71–110. Wiley, Hoboken (2011)
Gupta, L., Molfese, D.L., Tammana, R., Simos, P.G.: Nonlinear alignment and averaging for estimating the evoked potential. IEEE Trans. Biomed. Eng. 43(4), 348–356 (1996)
Keogh, E.: Exact indexing of dynamic time warping. In: VLDB 2002, Hong Kong, China, pp. 406–417 (2002)
Keogh, E.J., Pazzani, M.J.: Scaling up dynamic time warping for datamining applications. In: KDD 2000, Boston, MA, US, pp. 285–289 (2000)
Kotas, M.: Projective filtering of time warped ECG beats. Comput. Biol. Med. 38(1), 127–137 (2008)
Kotas, M.: Robust projective filtering of time-warped ECG beats. Comput. Methods Programs Biomed. 92(2), 161–172 (2008)
Kotas, M., Pander, T., Leski, J.M.: Averaging of nonlinearly aligned signal cycles for noise suppression. Biomed. Sig. Process. Control 21, 157–168 (2015)
Leski, J.M., Kotas, M.: Hierarchical clustering with planar segments as prototypes. Pattern Recogn. Lett. 54, 1–10 (2015)
Moroń, T.: Averaging of time-warped ECG signals for QT interval measurement. In: Piȩtka, E., Badura, P., Kawa, J., Wieclawek, W. (eds.) Information Technologies in Medicine. AISC, vol. 471, pp. 291–302. Springer International Publishing, Switzerland (2016)
Niennattrakul, V., Ratanamahatana, C.A.: On clustering multimedia time series data using k-means and dynamic time warping. In: MUE 2007, Seoul, South Korea, pp. 733–738 (2007)
Petitjean, F., Ketterlin, A., Gançarski, P.: A global averaging method for dynamic time warping, with applications to clustering. Pattern Recogn. 44(3), 678–693 (2011)
Rakthanmanon, T., Campana, B., Mueen, A., Batista, G., Westover, B., Zhu, Q., Zakaria, J., Keogh, E.: Searching and mining trillions of time series subsequences under dynamic time warping. In: KDD 2012, Beijing, China, pp. 262–270 (2012)
Sakoe, H., Chiba, S.: A similarity evaluation of speech patterns by dynamic programming. In: Nat. Meeting of Institute of Electronic Communications Engineers of Japan, p. 136 (1970)
Sakoe, H., Chiba, S.: Dynamic programming algorithm optimization for spoken word recognition. IEEE Trans. Acoust. Speech Sig. Process. 26(1), 43–49 (1978)
Acknowledgements
This work was partially supported by the Ministry of Science and Higher Education funding for statutory activities (BK-220/RAu-3/2016) and the Ministry of Science and Higher Education funding for statutory activities of young researchers (BKM-508/RAu-3/2016). The work was performed using the infrastructure supported by POIG.02.03.01-24-099/13 grant: GeCONiI—Upper Silesian Center for Computational Science and Engineering.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG
About this paper
Cite this paper
Kotas, M., Leski, J., Moroń, T., Guzmán, J.G. (2018). Hierarchical Agglomerative Clustering of Time-Warped Series. In: Gruca, A., Czachórski, T., Harezlak, K., Kozielski, S., Piotrowska, A. (eds) Man-Machine Interactions 5. ICMMI 2017. Advances in Intelligent Systems and Computing, vol 659. Springer, Cham. https://doi.org/10.1007/978-3-319-67792-7_21
Download citation
DOI: https://doi.org/10.1007/978-3-319-67792-7_21
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-67791-0
Online ISBN: 978-3-319-67792-7
eBook Packages: EngineeringEngineering (R0)