diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2018-05-30 09:58:51 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2018-05-30 09:58:51 +0200 |
commit | b5e45bbc83fd8cd8c1634a78f2f983d1cf28af73 (patch) | |
tree | 965b01f0313ff5ac2c2013239adda48f767ba992 /docs/source/auto_examples/plot_optim_OTreg.rst | |
parent | 90e42f32bdf0dd06667edaf172c51f4d4fce2c8b (diff) |
update examples and notebooks
Diffstat (limited to 'docs/source/auto_examples/plot_optim_OTreg.rst')
-rw-r--r-- | docs/source/auto_examples/plot_optim_OTreg.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/source/auto_examples/plot_optim_OTreg.rst b/docs/source/auto_examples/plot_optim_OTreg.rst index 5927428..844cba0 100644 --- a/docs/source/auto_examples/plot_optim_OTreg.rst +++ b/docs/source/auto_examples/plot_optim_OTreg.rst @@ -59,8 +59,8 @@ Generate data 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))) @@ -636,7 +636,7 @@ Solve EMD with Frobenius norm + entropic regularization 4|1.609284e-01|-1.111407e-12 -**Total running time of the script:** ( 0 minutes 2.589 seconds) +**Total running time of the script:** ( 0 minutes 1.990 seconds) |