Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ot.da.SinkhornTransport : does barycentric transform work for metric!='sqeuclidean'? #752

Unanswered
samarth4149 asked this question in Q&A
Discussion options

Hi,

I'm unsure whether the transform the way it is currently computed using the coupling matrix would work for a metric which is not the l_2 norm going by equations 13 and 14 here. Would this for instance, work with cosine distance metric?
Cosine also seems to pose the following question : Would the final transformed source examples then be correct up to a multiplicative factor?

Much appreciated!

You must be logged in to vote

Replies: 1 comment

Comment options

This is a very good question!

No it does not! While the euclidean barycentric mapping makes sens it is indeed not the proper barycentric mapping for any loss. We should definitely add this to the documentation and begin implementing for other losses (which is much more complex since it will require to solve optimization problems on several of them)

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Converted from issue

This discussion was converted from issue #206 on August 13, 2025 14:35.

AltStyle によって変換されたページ (->オリジナル) /