Skip to content

[WIP] Tree Wasserstein distances and Sliced Tree Wasserstein#821

Draft
Flastre wants to merge 7 commits into
PythonOT:masterfrom
Flastre:tree
Draft

[WIP] Tree Wasserstein distances and Sliced Tree Wasserstein#821
Flastre wants to merge 7 commits into
PythonOT:masterfrom
Flastre:tree

Conversation

@Flastre

@Flastre Flastre commented Jun 19, 2026

Copy link
Copy Markdown

Wasserstein distances on trees.

In ot/lp/solver_tree.py : the function tree_wasserstein return the distance and the transport plan between two distributions on a tree
In ot/lp/tree_barycenter : the function tree_barycenter returns the barycenter between multiples distributions on a tree

I plan on adding a sliced version of the tree wasserstein distance, and maybe some functions to generate trees (as explained in the first article)

References :

Tree-Sliced Variants of Wasserstein Distances
Tree-Wasserstein Barycenter for Large-Scale Multilevel Clustering and Scalable Bayes

@github-actions github-actions Bot added the ot.lp label Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant