diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2017-07-03 16:33:00 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2017-07-03 16:33:00 +0200 |
commit | adbf95ee9a720fa38b5b91d0a9d5c3b22ba0b226 (patch) | |
tree | 834a6934ab09c4daec751c220ba847e8be61bb4b /docs/source/auto_examples/plot_OT_2D_samples.rst | |
parent | f639518e9b96c5904122e62e024ed4ae369ceb33 (diff) |
update doc
Diffstat (limited to 'docs/source/auto_examples/plot_OT_2D_samples.rst')
-rw-r--r-- | docs/source/auto_examples/plot_OT_2D_samples.rst | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/docs/source/auto_examples/plot_OT_2D_samples.rst b/docs/source/auto_examples/plot_OT_2D_samples.rst index 01e5f31..e05e591 100644 --- a/docs/source/auto_examples/plot_OT_2D_samples.rst +++ b/docs/source/auto_examples/plot_OT_2D_samples.rst @@ -46,7 +46,16 @@ :scale: 47 +.. rst-class:: sphx-glr-script-out + Out:: + + ('Warning: numerical errors at iteration', 0) + + + + +| .. code-block:: python @@ -58,7 +67,7 @@ #%% parameters and data generation - n=2 # nb samples + n=50 # nb samples mu_s=np.array([0,0]) cov_s=np.array([[1,0],[0,1]]) @@ -107,7 +116,7 @@ #%% sinkhorn # reg term - lambd=5e-3 + lambd=5e-4 Gs=ot.sinkhorn(a,b,M,lambd) @@ -122,7 +131,7 @@ pl.legend(loc=0) pl.title('OT matrix Sinkhorn with samples') -**Total running time of the script:** ( 0 minutes 0.406 seconds) +**Total running time of the script:** ( 0 minutes 0.623 seconds) |