Skip to content

[WIP] BSP-OT: Sparse transport plans between discrete measures in loglinear time#768

Open
dcoeurjo wants to merge 66 commits intoPythonOT:masterfrom
dcoeurjo:master
Open

[WIP] BSP-OT: Sparse transport plans between discrete measures in loglinear time#768
dcoeurjo wants to merge 66 commits intoPythonOT:masterfrom
dcoeurjo:master

Conversation

@dcoeurjo
Copy link
Contributor

@dcoeurjo dcoeurjo commented Oct 15, 2025

Initial fork and PR. (wip)

Types of changes

Original paper

Motivation and context / Related issue

How has this been tested (if it applies)

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.

Added 'TBA' section to the README.
@codecov
Copy link

codecov bot commented Oct 15, 2025

Codecov Report

❌ Patch coverage is 78.35821% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.77%. Comparing base (41a4d57) to head (d4af9e0).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #768      +/-   ##
==========================================
- Coverage   96.87%   96.77%   -0.11%     
==========================================
  Files         113      117       +4     
  Lines       23062    23195     +133     
==========================================
+ Hits        22342    22447     +105     
- Misses        720      748      +28     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions github-actions bot added the CI label Jan 29, 2026
@github-actions github-actions bot added the Tests label Feb 18, 2026
int pivot = random_pivot ? randint(beg+1,end-1) : beg + (end-beg)/2;
Vector<D> d = getSlice(idA,idB,beg,end);
d -= d.dot(prev_slice)*prev_slice/prev_slice.squaredNorm();
d.normalized();

Choose a reason for hiding this comment

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

====> d.normalize() !

Choose a reason for hiding this comment

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

done

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants