diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2018-06-11 11:24:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-11 11:24:57 +0200 |
commit | 47730fc727c0f54e8459964d9208ad824e3f91da (patch) | |
tree | 48952166e88e602f1843bd15c0187c7d5ffb6cac /examples/plot_optim_OTreg.py | |
parent | 4641ec5f2ddbff1a468afaf65741aecae44738cc (diff) | |
parent | 530dc93a60e9b81fb8d1b44680deea77dacf660b (diff) |
Merge branch 'master' into remove_otda_v05
Diffstat (limited to 'examples/plot_optim_OTreg.py')
-rw-r--r-- | examples/plot_optim_OTreg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/plot_optim_OTreg.py b/examples/plot_optim_OTreg.py index 92df016..2c58def 100644 --- a/examples/plot_optim_OTreg.py +++ b/examples/plot_optim_OTreg.py @@ -42,8 +42,8 @@ n = 100 # nb bins x = np.arange(n, dtype=np.float64) # Gaussian distributions -a = ot.datasets.get_1D_gauss(n, m=20, s=5) # m= mean, s= std -b = ot.datasets.get_1D_gauss(n, m=60, s=10) +a = ot.datasets.make_1D_gauss(n, m=20, s=5) # m= mean, s= std +b = ot.datasets.make_1D_gauss(n, m=60, s=10) # loss matrix M = ot.dist(x.reshape((n, 1)), x.reshape((n, 1))) |