From adbf95ee9a720fa38b5b91d0a9d5c3b22ba0b226 Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Mon, 3 Jul 2017 16:33:00 +0200 Subject: update doc --- docs/source/auto_examples/plot_OT_2D_samples.rst | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'docs/source/auto_examples/plot_OT_2D_samples.rst') 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) -- cgit v1.2.3