Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 05dabf6

Browse files
[MRG] Add release version information to each example in the examples gallery (#743)
* release version for examples * release indication on examples * change added in release.md + minor modifs on examples added in 0.9.6
1 parent 99477be commit 05dabf6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+138
-0
lines changed

‎RELEASES.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- Backend implementation of `ot.dist` for (PR #701)
1818
- Updated documentation Quickstart guide and User guide with new API (PR #726)
1919
- Fix jax version for auto-grad (PR #732)
20+
- Added to each example in the examples gallery the information about the release version in which it was introduced (PR #743)
2021

2122
#### Closed issues
2223
- Fixed `ot.mapping` solvers which depended on deprecated `cvxpy` `ECOS` solver (PR #692, Issue #668)

‎examples/backends/plot_Sinkhorn_gradients.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
77
This example illustrates the differences in terms of computation time between the gradient options for the Sinkhorn solver.
88
9+
.. note::
10+
Example added in release: 0.9.6
11+
912
"""
1013

1114
# Author: Sonia Mazelet <sonia.mazelet@polytechnique.edu>

‎examples/backends/plot_dual_ot_pytorch.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
Dual OT solvers for entropic and quadratic regularized OT with Pytorch
55
======================================================================
66
7+
.. note::
8+
Example added in release: 0.8.2.
79
810
"""
911

‎examples/backends/plot_optim_gromov_pytorch.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
Optimizing the Gromov-Wasserstein distance with PyTorch
44
=======================================================
55
6+
.. note::
7+
Example added in release: 0.8.0.
8+
69
In this example, we use the pytorch backend to optimize the Gromov-Wasserstein
710
(GW) loss between two graphs expressed as empirical distribution.
811

‎examples/backends/plot_sliced_wass_grad_flow_pytorch.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
Sliced Wasserstein barycenter and gradient flow with PyTorch
44
============================================================
55
6+
.. note::
7+
Example added in release: 0.8.0.
8+
69
In this example we use the pytorch backend to optimize the sliced Wasserstein
710
loss between two empirical distributions [31].
811

‎examples/backends/plot_stoch_continuous_ot_pytorch.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
Continuous OT plan estimation with Pytorch
55
======================================================================
66
7+
.. note::
8+
Example added in release: 0.8.2.
79
810
"""
911

‎examples/backends/plot_unmix_optim_torch.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Wasserstein unmixing with PyTorch
55
=================================
66
7+
.. note::
8+
Example added in release: 0.8.0.
9+
710
In this example we estimate mixing parameters from distributions that minimize
811
the Wasserstein distance. In other words we suppose that a target
912
distribution :math:`\mu^t` can be expressed as a weighted sum of source

‎examples/backends/plot_wass2_gan_torch.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Wasserstein 2 Minibatch GAN with PyTorch
55
========================================
66
7+
.. note::
8+
Example added in release: 0.8.0.
9+
710
In this example we train a Wasserstein GAN using Wasserstein 2 on minibatches
811
as a distribution fitting term.
912

‎examples/barycenters/plot_debiased_barycenter.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
Debiased Sinkhorn barycenter demo
55
=================================
66
7+
.. note::
8+
Example added in release: 0.8.0.
9+
710
This example illustrates the computation of the debiased Sinkhorn barycenter
811
as proposed in [37]_.
912

‎examples/barycenters/plot_free_support_sinkhorn_barycenter.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
2D free support Sinkhorn barycenters of distributions
55
========================================================
66
7+
.. note::
8+
Example added in release: 0.9.1.
9+
710
Illustration of Sinkhorn barycenter calculation between empirical distributions understood as point clouds
811
912
"""

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /