Skip to content

Questions for ot.barycenter #639

Discussion options

You must be logged in to vote

Hello @peteryang1031 ,
Computing the barycenter of several distributions of R^d requires to explicit the cost function to compare two points in R^d. So generic cost matrices M (pairwise relationships between points across distributions) as in ot.emd are not supported in POT. You can find implementation with an euclidean cost e.g here : https://pythonot.github.io/auto_examples/barycenters/plot_free_support_barycenter.html#sphx-glr-auto-examples-barycenters-plot-free-support-barycenter-py

And also different variants which assume/leverage specific properties of the domain, e.g projections on subspaces or points over grids here: https://pythonot.github.io/auto_examples/index.html#wasserstein-…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rflamary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #633 on June 24, 2024 15:23.