Random projections and sampling algorithms for clustering of high-dimensional polygonal curves