Skip to content

entropic_partial_wasserstein - #26

Open
pnavaro wants to merge 22 commits into
JuliaOptimalTransport:mainfrom
pnavaro:main
Open

pnavaro wants to merge 22 commits into
JuliaOptimalTransport:mainfrom
pnavaro:main

Conversation

@pnavaro

@pnavaro pnavaro commented Jan 21, 2025

Copy link
Copy Markdown
Contributor

Hi, I need this function for my problem, so I added it to the package. I fixed some tests in functions already wrapped by matching examples in pot documentation. I already did this for another function, I hope I followed the contribution rules correctly.

Pierre

I also fix tests in `sinkhorn_unbalanced` and `sinkhorn_unbalanced2`
Fix problems in doc generation
@codecov

codecov Bot commented Jan 21, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.42520% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.47%. Comparing base (7c72cf8) to head (addbd27).

Files with missing lines Patch % Lines
src/da.jl 66.66% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #26       +/-   ##
===========================================
+ Coverage   87.50%   98.47%   +10.97%     
===========================================
  Files           3       10        +7     
  Lines          32      131       +99     
===========================================
+ Hits           28      129      +101     
+ Misses          4        2        -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@coveralls

coveralls commented Jan 21, 2025 •

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 19707569252

Details

  • 2 of 5 (40.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-8.0%) to 85.294%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/lib.jl 2 5 40.0%
Totals Coverage Status
Change from base Build 9870943894: -8.0%
Covered Lines: 29
Relevant Lines: 34

💛 - Coveralls

Introduces the partial_wasserstein2 function in lib.jl, wrapping the corresponding PythonOT method, and exports it in PythonOT.jl for external use.
Introduces the partial_wasserstein function to the Julia API, wrapping pot.partial.partial_wasserstein2. Also updates the package version to 0.1.9 and exports the new function.
Exports and implements the entropic_partial_gromov_wasserstein2 function, providing a Julia wrapper for the corresponding POT library method.
Introduces the entropic_partial_gromov_wasserstein function to the API and exports it. This provides access to the corresponding functionality from the underlying pot.partial module.
Group wrappers by solver family and expose additional transport algorithms, utilities, and domain adaptation functions. Fix partial Wasserstein plan and entropic partial Gromov cost wrappers, and update API documentation and tests.
Update the wrappers and documentation to use POT's gromov module. Suppress SciPy solver-option warnings during initialization and Python warnings in tests.
Raise the minimum Julia version to 1.10 and update the CI matrix accordingly. Replace CompatHelper with weekly Dependabot updates for root, docs, and test dependencies.
Split wrapper tests by module and add coverage for transport solvers, barycenters, marginals, and utility functions.
Update CI and nightly matrices to test ARM64 on macOS while retaining x64 on Ubuntu and Windows.
Replace random inputs with fixed distributions and distance costs. Check the unbalanced barycenter's shape and nonnegativity instead of relying on its total mass.
Update checkout, Python, Julia, caching, and coverage actions across CI and documentation workflows. Pin Coveralls and Julia setup to versioned releases.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants