Skip to content

Conversation

@kachayev
Copy link
Collaborator

@kachayev kachayev commented Jan 5, 2024

Types of changes

This PR presents a vectorized implementation of LpL1 transport algorithms for domain adaptation, along with all the requisite modifications to ensure compatibility of the ot.da module with JAX.

Motivation and context / Related issue

Continuing the effort to enable Domain Adaptation functionality in JAX. See also previously introduced changes in PR #587 for details.

How has this been tested (if it applies)

The tests have been updated. Additionally, a dedicated test has been included to verify that the vectorized implementation produces the same results as the original code.

PR checklist

  • I have read the CONTRIBUTING document.
  • The documentation is up-to-date with the changes I made (check build artifacts).
  • All tests passed, and additional code has been covered with new tests.
  • I have added the PR and Issue fix to the RELEASES.md file.
@codecov
Copy link

codecov bot commented Jan 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.66%. Comparing base (a8f0ed5) to head (ca00540).

Additional details and impacted files
@@ Coverage Diff @@ ## master #592 +/- ## ======================================= Coverage 96.66% 96.66% ======================================= Files 85 85 Lines 16898 16928 +30 ======================================= + Hits 16334 16364 +30  Misses 564 564 
@kachayev kachayev changed the title [WIP] [DA] Sinkhorn LpL1 transport to work on JAX [DA] Sinkhorn LpL1 transport to work on JAX May 29, 2024
Copy link
Collaborator

@cedricvincentcuaz cedricvincentcuaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR @kachayev,
sorry for the late review on this PR. I put some remarks to ensure compatibility with all backends. Could you take them into account and mention the fix in the RELEASE.md file ?

Best,
Cédric

@cedricvincentcuaz cedricvincentcuaz merged commit 2941ed3 into PythonOT:master Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants