JuliaDynamics / StateSpaceSets.jl

The `StateSpaceSet` interface for packages of JuliaDynamics
MIT License
2 stars 3 forks source link

Add `Centroid` method for dataset distances #2

Closed Datseris closed 1 year ago

Datseris commented 1 year ago

This PR:

This centroid method calculates the distance of the centroids of the datasets, instead of calculating the distances across all points in the data. This is several thousand times faster than the previous default method of a given Metric. Of course, it isn't as "strict".

cc @awage you probably want to be using this method. I'll make this the default as well (notice I haven't updated Attractors.jl yet to use StateSpaceSets.jl. Will do the update soon)