Introduction to Time Series Clustering
(draft version)


Piotr Lipiński
Computational Intelligence Research Group, Institute of Computer Science, University of Wroclaw, Poland
lipinski@cs.uni.wroc.pl

Abstract:

This notebook presents a few examples of clustering time series with the regular k-means as well as with the time series k-means (DTW Barycenter Averaging k-means, DBA-k-means).

REMARK: start with Dataset 1 and see that k-means works (it should not - the time series are the same, but shifted only), then move to the Dataset 4

Example 0: daily water consumption profiles

Example 1: simple benchmark data

clustering with regular k-means

clustering with time series k-means with the DTW distance

References:

[1] F. Petitjean, A. Ketterlin, P. Gancarski, "A global averaging method for dynamic time warping, with applications to clustering". Pattern Recognition, 3(44), 2011, pp.678--693.

[2] R. Tavenard, J. Faouzi, G. Vandewiele, F. Divo, G. Androz, C. Holtz, M. Payne, R. Yurchak, M. Russwurm, K. Kolar, E. Woods, "Tslearn, A Machine Learning Toolkit for Time Series Data". Journal of Machine Learning Research, 21(118), 2020, pp.1-6.