diff options
author | Alexandre Gramfort <alexandre.gramfort@m4x.org> | 2017-07-20 15:39:50 +0200 |
---|---|---|
committer | Alexandre Gramfort <alexandre.gramfort@m4x.org> | 2017-07-20 15:39:50 +0200 |
commit | 6ada23e5a672b08f28e21123c4135bc787e83b19 (patch) | |
tree | d9c2a307ac18b78801ef0bac6526332e41f15eb5 /examples/plot_optim_OTreg.py | |
parent | ced35d10cb9c92e3cfd98f16f2fee778a969de97 (diff) |
pep8
Diffstat (limited to 'examples/plot_optim_OTreg.py')
-rw-r--r-- | examples/plot_optim_OTreg.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/plot_optim_OTreg.py b/examples/plot_optim_OTreg.py index e38253c..276b250 100644 --- a/examples/plot_optim_OTreg.py +++ b/examples/plot_optim_OTreg.py @@ -44,6 +44,7 @@ def f(G): def df(G): return G + reg = 1e-1 Gl2 = ot.optim.cg(a, b, M, reg, f, df, verbose=True) @@ -61,6 +62,7 @@ def f(G): def df(G): return np.log(G) + 1. + reg = 1e-3 Ge = ot.optim.cg(a, b, M, reg, f, df, verbose=True) @@ -78,6 +80,7 @@ def f(G): def df(G): return G + reg1 = 1e-3 reg2 = 1e-1 |