diff options
author | Kilian <kilian.fatras@gmail.com> | 2018-06-26 11:10:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-26 11:10:40 -0700 |
commit | b4bc86176a5712fdd2f930fbf5d1968edd5efa5e (patch) | |
tree | 075c694496216f0a6db61e879ece5eb2e799fc07 /docs/source/auto_examples/plot_optim_OTreg.rst | |
parent | 208ff4627ba28aa3f35328c5928324019c23ddac (diff) | |
parent | 327b0c6e0ccb0c9453179eb316021c34bcdffec4 (diff) |
Merge branch 'master' into stochastic_OT
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) |