Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add barycenter operator for (convex) translation invariant costs #498

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

marcocuturi
Copy link
Contributor

add barycenter operator for costs that are translation-invariant, i.e. of type h(x-y) where h is convex.

Copy link

codecov bot commented Mar 7, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 90.59%. Comparing base (abad9a0) to head (4d84abc).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #498      +/-   ##
==========================================
- Coverage   90.61%   90.59%   -0.03%     
==========================================
  Files          60       60              
  Lines        6683     6687       +4     
  Branches      956      956              
==========================================
+ Hits         6056     6058       +2     
- Misses        478      480       +2     
  Partials      149      149              
Files Coverage Δ
src/ott/geometry/costs.py 92.52% <50.00%> (-0.41%) ⬇️

Copy link
Collaborator

@michalk8 michalk8 left a comment

Choose a reason for hiding this comment

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

LGTM

@marcocuturi marcocuturi merged commit cbff1c7 into main Mar 7, 2024
13 checks passed
@michalk8 michalk8 deleted the add-barycenters branch March 7, 2024 23:45
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.

None yet

2 participants