Skip to content

Questions for ot.barycenter #633

@peteryang1031

Description

@peteryang1031

I have a few questions regarding the use of the ot.barycenter function.

1. Cost Matrix with More Than Two Distributions:

Suppose I have more than two distributions. How can I compute the cost matrix for calculating the barycenter? I am particularly confused about the computation of matrix M when the number of distributions exceeds two.

2. Barycenter with Different Number of Points:

Assume I have two discrete distributions: A with 300 points (each with 30 dimensions) and B with 200 points (each with 30 dimensions). How can I compute the barycenter between these two distributions with a different number of points?

I am gradually learning to use POT and intend to implement it in my project. I appreciate any guidance you can provide on these questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions