Replies: 4 comments 1 reply
-
Hello @kiasar , The Gromov-Wasserstein distance can be used to compare any pair of matrices, including those you've mentioned. POT includes several solvers for estimating this distance, e.g. 'ot.gromov.gromov_wasserstein', and other features such as the Gromov-Wasserstein barycenter, etc. |
Beta Was this translation helpful? Give feedback.
-
Hi @cedricvincentcuaz, I initially approached this by visualizing the matrix cells as (i, j) points in a 2D space and then utilized Thank you for your guidance. |
Beta Was this translation helpful? Give feedback.
-
In most applications, it is relevant to see a matrix as a graph where the If I understood correctly what you did, it comes down to flatten each matrix Then to cluster a set of several matrices, you could e.g perform GW-based dictionary learning (https://pythonot.github.io/auto_examples/gromov/plot_gromov_wasserstein_dictionary_learning.html#sphx-glr-auto-examples-gromov-plot-gromov-wasserstein-dictionary-learning-py). |
Beta Was this translation helpful? Give feedback.
-
Firstly, thank you so much for the insights you've shared. I truly appreciate your expertise. I wanted to touch base with you on a couple of things:
I've been looking into the "Gromov-Wasserstein" method, and it seems like it's designed for situations a bit trickier than ours. Our challenge feels a bit more straightforward. Just to paint a clearer picture: We've got thousands of these square matrices that are all the same size and with the same grand sum. When we show them as colorful heatmaps, you can easily spot some repeating designs. Our big question is: how do we cluster these? Here's what they look like: My initial thought was to plot these patterns in a simple way and use Given everything I've shared, would you kindly advise if you still think the Gromov-Wasserstein method remains a suitable approach in your opinion? |
Beta Was this translation helpful? Give feedback.
-
Hi. I seem not to find a module to calculate the distance between two matrices (with positive values and equal summation of elements). It would be great to have one.
Beta Was this translation helpful? Give feedback.
All reactions