diff options
| author | jeanpouget-abadie <jean.pougetabadie@gmail.com> | 2014-12-05 16:52:02 -0500 |
|---|---|---|
| committer | jeanpouget-abadie <jean.pougetabadie@gmail.com> | 2014-12-05 16:52:02 -0500 |
| commit | 91d31698d5a7eb6e3381f21161658a698362bdf4 (patch) | |
| tree | 3ff92ec44d7c639f89cfd33f770d63369e2385d6 /jpa_test/algorithms.py | |
| parent | e83914a338aa5fb8fb90cddbf306eca8f90365b5 (diff) | |
| download | cascades-91d31698d5a7eb6e3381f21161658a698362bdf4.tar.gz | |
update gitignore
Diffstat (limited to 'jpa_test/algorithms.py')
| -rw-r--r-- | jpa_test/algorithms.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jpa_test/algorithms.py b/jpa_test/algorithms.py index 5d28300..facce3b 100644 --- a/jpa_test/algorithms.py +++ b/jpa_test/algorithms.py @@ -76,13 +76,13 @@ def test(): unit test """ G = cascade_creation.InfluenceGraph(max_proba = .8) - G.erdos_init(n = 100, p = .3) + G.erdos_init(n = 100, p = .05) import time t0 = time.time() - A = cascade_creation.generate_cascades(G, .2, 10000) + A = cascade_creation.generate_cascades(G, .2, 1000) G_hat = recovery_l1obj_l2constraint(G, A, passed_function=convex_optimization.l1obj_l2penalization, - floor_cstt=.1, lbda=100) + floor_cstt=.1, lbda=10) correctness_measure(G, G_hat, print_values=True) |
