summaryrefslogtreecommitdiff
path: root/docs/source/auto_examples/plot_OT_2D_samples.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/auto_examples/plot_OT_2D_samples.py')
-rw-r--r--docs/source/auto_examples/plot_OT_2D_samples.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/auto_examples/plot_OT_2D_samples.py b/docs/source/auto_examples/plot_OT_2D_samples.py
index 3b95083..edfb781 100644
--- a/docs/source/auto_examples/plot_OT_2D_samples.py
+++ b/docs/source/auto_examples/plot_OT_2D_samples.py
@@ -13,7 +13,7 @@ import ot
#%% 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]])
@@ -62,7 +62,7 @@ pl.title('OT matrix with samples')
#%% sinkhorn
# reg term
-lambd=5e-3
+lambd=5e-4
Gs=ot.sinkhorn(a,b,M,lambd)