From c650550dab33eac8e0eb86d9843a942ae00cc9c9 Mon Sep 17 00:00:00 2001 From: jeanpouget-abadie Date: Tue, 3 Feb 2015 10:19:14 -0500 Subject: small changes to opt --- src/make_plots.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/make_plots.py') 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() -- cgit v1.2.3-70-g09d2