summaryrefslogtreecommitdiff
path: root/examples/demo_OT_1D.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2016-11-07 16:51:42 +0100
committerRémi Flamary <remi.flamary@gmail.com>2016-11-07 16:51:42 +0100
commit8b41e141e8ce4ad14a458cb363f46d3176644116 (patch)
tree84110632f983344feaa757b228c67a1b9c6c3aa1 /examples/demo_OT_1D.py
parente485078116660e53b47aa1f7b96288b9b413c3eb (diff)
add log and epsilon scaling stabilizations
Diffstat (limited to 'examples/demo_OT_1D.py')
-rw-r--r--examples/demo_OT_1D.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/demo_OT_1D.py b/examples/demo_OT_1D.py
index 6eaa2ff..df65a60 100644
--- a/examples/demo_OT_1D.py
+++ b/examples/demo_OT_1D.py
@@ -19,8 +19,8 @@ n=100 # nb bins
x=np.arange(n,dtype=np.float64)
# Gaussian distributions
-a=gauss(n,m=20,s=20) # m= mean, s= std
-b=gauss(n,m=60,s=60)
+a=gauss(n,m=20,s=5) # m= mean, s= std
+b=gauss(n,m=60,s=10)
# loss matrix
M=ot.dist(x.reshape((n,1)),x.reshape((n,1)))