Skip to content

Commit bde1e19

Browse files
committed
documeation fix
1 parent 38b22fb commit bde1e19

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

RELEASES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
This new release contains several new features and bug fixes.
77

8-
New features include a new submodule `ot.gnn` that contains two new Graph neural network layers (compatible with [Pytorch Geometric](https://pytorch-geometric.readthedocs.io/)) for template-based pooling of graphs with an example on [graph classification](https://pythonot.github.io/master/auto_examples/gromov/plot_gnn_TFGW.html). Related to this, we also now provide FGW and semi relaxed FGW solvers for which the resulting loss is differentiable w.r.t. the parameter `alpha`. Other contributions on the (F)GW front include a new solver for the Proximal Point algorithm [that can be used to solve entropic GW problems](https://pythonot.github.io/master/auto_examples/gromov/plot_fgw_solvers.html) (using the parameter `solver="PPA"`), novels Sinkhorn-based solvers for entropic semi-relaxed (F)GW, the possibility to provide a warm-start to the solvers, and optional marginal weights of the samples (uniform weights ar used by default). Finally we added in the submodule `ot.gaussian` and `ot.da` new loss and mapping estimators for the Gaussian Gromov-Wasserstein that can be used as a fast alternative to GW and estimates linear mappings between unregistered spaces that can potentially have different size (See the update [linear mapping example](https://pythonot.github.io/master/auto_examples/domain-adaptation/plot_otda_linear_mapping.html) for an illustration).
8+
New features include a new submodule `ot.gnn` that contains two new Graph neural network layers (compatible with [Pytorch Geometric](https://pytorch-geometric.readthedocs.io/)) for template-based pooling of graphs with an example on [graph classification](https://pythonot.github.io/master/auto_examples/gromov/plot_gnn_TFGW.html). Related to this, we also now provide FGW and semi relaxed FGW solvers for which the resulting loss is differentiable w.r.t. the parameter `alpha`. Other contributions on the (F)GW front include a new solver for the Proximal Point algorithm [that can be used to solve entropic GW problems](https://pythonot.github.io/master/auto_examples/gromov/plot_fgw_solvers.html) (using the parameter `solver="PPA"`), new solvers for entropic FGW barycenters, novels Sinkhorn-based solvers for entropic semi-relaxed (F)GW, the possibility to provide a warm-start to the solvers, and optional marginal weights of the samples (uniform weights ar used by default). Finally we added in the submodule `ot.gaussian` and `ot.da` new loss and mapping estimators for the Gaussian Gromov-Wasserstein that can be used as a fast alternative to GW and estimates linear mappings between unregistered spaces that can potentially have different size (See the update [linear mapping example](https://pythonot.github.io/master/auto_examples/domain-adaptation/plot_otda_linear_mapping.html) for an illustration).
99

1010
We also provide a new solver for the [Entropic Wasserstein Component Analysis](https://pythonot.github.io/master/auto_examples/others/plot_EWCA.html) that is a generalization of the celebrated PCA taking into account the local neighborhood of the samples. We also now have a new solver in `ot.smooth` for the [sparsity-constrained OT (last plot)](https://pythonot.github.io/master/auto_examples/plot_OT_1D_smooth.html) that can be used to find regularized OT plans with sparsity constraints. Finally we have a first multi-marginal solver for regular 1D distributions with a Monge loss (see [here](https://pythonot.github.io/master/auto_examples/others/plot_dmmot.html)).
1111

ot/da.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,7 @@ class LinearGWTransport(LinearTransport):
13651365
r""" OT Gaussian Gromov-Wasserstein linear operator between empirical distributions
13661366
13671367
The function estimates the optimal linear operator that aligns the two
1368-
empirical distributions optimaly wrt the Gromov wassretsein distance. This is equivalent to estimating the closed
1368+
empirical distributions optimally wrt the Gromov-Wasserstein distance. This is equivalent to estimating the closed
13691369
form mapping between two Gaussian distributions :math:`\mathcal{N}(\mu_s,\Sigma_s)`
13701370
and :math:`\mathcal{N}(\mu_t,\Sigma_t)` as proposed in
13711371
:ref:`[57] <references-lineargwtransport>`.

ot/gaussian.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ def bures_wasserstein_mapping(ms, mt, Cs, Ct, log=False):
4242
mean of the source distribution
4343
mt : array-like (d,)
4444
mean of the target distribution
45-
Cs : array-like (d,)
45+
Cs : array-like (d,d)
4646
covariance of the source distribution
47-
Ct : array-like (d,)
47+
Ct : array-like (d,d)
4848
covariance of the target distribution
4949
log : bool, optional
5050
record log if True
@@ -210,9 +210,9 @@ def bures_wasserstein_distance(ms, mt, Cs, Ct, log=False):
210210
mean of the source distribution
211211
mt : array-like (d,)
212212
mean of the target distribution
213-
Cs : array-like (d,)
213+
Cs : array-like (d,d)
214214
covariance of the source distribution
215-
Ct : array-like (d,)
215+
Ct : array-like (d,d)
216216
covariance of the target distribution
217217
log : bool, optional
218218
record log if True
@@ -344,9 +344,9 @@ def gaussian_gromov_wasserstein_distance(Cov_s, Cov_t, log=False):
344344
345345
Parameters
346346
----------
347-
Cov_s : array-like (d,d)
347+
Cov_s : array-like (ds,ds)
348348
covariance of the source distribution
349-
Cov_t : array-like (d,d)
349+
Cov_t : array-like (dt,dt)
350350
covariance of the target distribution
351351
352352

0 commit comments

Comments
 (0)