Closed lizliz closed 1 year ago
Forgot to mention this is the command wassersteinDist
in teaspoon.TDA.Distance
I think we can remove Hera and either update using the ot package, or include the bottleneck from persim, but it can be an option in the wassersteinDist function. Currently when setting q = np.inf, it computes chebyshev distance, but I am unable to get it to match the results from the persim bottleneck library or the prior example from Hera as well.
I suspect the matching for computation of bottleneck is being done differently. Screenshot attached.
This is resolved in the documentation and will use the persim package for bottleneck distance
We have a command for computing wasserstein distance using the optimal transport (
ot
) package. However, it doesn't show up in the documentation automatically.I haven't done a lot of testing and I can't remember if it wrote it as such, but I believe this will do any $p$ and $\infty$ (so bottleneck) distance. If this is the case, we could remove dependency on Hera entirely.