aboutsummaryrefslogtreecommitdiffstats
path: root/src/make_plots.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/make_plots.py')
-rw-r--r--src/make_plots.py6
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()