diff options
author | Kilian Fatras <kilianfatras@dhcp-206-12-53-20.eduroam.wireless.ubc.ca> | 2018-08-28 17:24:07 -0700 |
---|---|---|
committer | Kilian Fatras <kilianfatras@dhcp-206-12-53-20.eduroam.wireless.ubc.ca> | 2018-08-28 17:24:07 -0700 |
commit | e885d78cc9608d791a9d1561d2f4e0b783ba0761 (patch) | |
tree | e03a553873f110d1b8e0f15cc6f9248c916a405c /examples/plot_optim_OTreg.py | |
parent | 77b68901c5415ddc5d9ab5215a6fa97723de3de9 (diff) |
debug sgd dual
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))) |