What about dynamic time warping ? Sendt fra min iPhone
> Den 17. jan. 2019 kl. 05.31 skrev lampahome <pahome.c...@mirlab.org>: > > Cluster algo cluster samples by calculating the euclidean distance. > I wonder if any clustering algo can cluster the timing series data? > > EX: > Every items has there sold numbers of everyday. > Item,Day1,Day2,Day3,Day4,Day5 > A,1,5,1,5,1 > B,10,50,10,50,10, > C,4,70,30,10,50 > > The difference ratio of A and B are 500%,20%,500%,20%, > I want to make A&B be the same cluster, C is another one. > > If I don't want to calculate the difference ratio of each samples > > Is there anyway to cluster by the difference ratio of each samples? > > thx > _______________________________________________ > scikit-learn mailing list > scikit-learn@python.org > https://mail.python.org/mailman/listinfo/scikit-learn _______________________________________________ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn