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

rename ent_reg_cost in sinkhorn solver #391

Merged
merged 2 commits into from
Jul 8, 2023
Merged

rename ent_reg_cost in sinkhorn solver #391

merged 2 commits into from
Jul 8, 2023

Conversation

marcocuturi
Copy link
Contributor

in sinkhorn.py, ent_reg_cost is used for a property of SinkhornOutput (see e.g. #376) but also as a method of the solver. This PR disambiguates both (and renames properly the method in the solver)

@codecov-commenter
Copy link

codecov-commenter commented Jul 7, 2023

Codecov Report

Merging #391 (c8c1856) into main (172ba77) will decrease coverage by 0.09%.
The diff coverage is 80.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #391      +/-   ##
==========================================
- Coverage   88.93%   88.85%   -0.09%     
==========================================
  Files          55       55              
  Lines        5929     5929              
  Branches      861      861              
==========================================
- Hits         5273     5268       -5     
- Misses        535      541       +6     
+ Partials      121      120       -1     
Impacted Files Coverage Δ
src/ott/solvers/linear/sinkhorn.py 97.53% <75.00%> (ø)
src/ott/initializers/nn/initializers.py 91.35% <100.00%> (ø)

... and 1 file with indirect coverage changes

@marcocuturi marcocuturi merged commit 947c7d6 into main Jul 8, 2023
@marcocuturi marcocuturi deleted the ent_reg_cost branch July 13, 2023 17:09
michalk8 pushed a commit that referenced this pull request Jun 27, 2024
* rename `ent_reg_cost` in sinkhorn solver

* fix ent_reg_cost in meta init
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