diff options
| author | jeanpouget-abadie <jean.pougetabadie@gmail.com> | 2015-02-03 10:19:14 -0500 |
|---|---|---|
| committer | jeanpouget-abadie <jean.pougetabadie@gmail.com> | 2015-02-03 10:19:14 -0500 |
| commit | c650550dab33eac8e0eb86d9843a942ae00cc9c9 (patch) | |
| tree | b790a1512fec77887a7f334e607409ad55c0cd27 /src/make_plots.py | |
| parent | 12e52fe9e9e1ac286c1b64342a54d7eccd6d9332 (diff) | |
| download | cascades-c650550dab33eac8e0eb86d9843a942ae00cc9c9.tar.gz | |
small changes to opt
Diffstat (limited to 'src/make_plots.py')
| -rw-r--r-- | src/make_plots.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/make_plots.py b/src/make_plots.py index 4a952d1..bfe78f8 100644 --- a/src/make_plots.py +++ b/src/make_plots.py @@ -35,10 +35,10 @@ def test(): G.erdos_init(n=50, p=.2) A = cascade_creation.generate_cascades(G, p_init=.1, n_cascades=1000) G_hat = algorithms.recovery_passed_function(G, A, - passed_function=convex_optimization.type_lasso, - floor_cstt=.1, lbda=.001) + passed_function=convex_optimization.sparse_recovery, + floor_cstt=.1, lbda=.001, n_cascades=1000) algorithms.correctness_measure(G, G_hat, print_values=True) - print(G.mat) + if __name__=="__main__": test() |
