KmlShape is a package design to cluster longitudinal data according to their shape.
kmlShape cluster longitudinal data according to their shape: instead of merging individual whose trajectories are closed in term of euclidienne distance, it groups the individual that are closed according Frechet's distance.
Since k-means using Frechet has a complexity in O(n^2t^2), KmlShape also provide some function to reduce the size of the data without changing the result:
reduceNbId reduce the number of individual, by
merging them using a classical k-means on many centers.
reduceNbTimes reduce the number of measurement, by
(optionaly) smoothing the curve then by applying the Douglas-Peuker
Christophe Genolini <[email protected]>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.