diff options
| author | jeanpouget-abadie <jean.pougetabadie@gmail.com> | 2014-12-07 16:20:40 -0500 |
|---|---|---|
| committer | jeanpouget-abadie <jean.pougetabadie@gmail.com> | 2014-12-07 16:20:40 -0500 |
| commit | 4ba0141322e8d35da9a762909603bd280dec64bf (patch) | |
| tree | 97b97530f13ab401ce4b6fc6704d0134adaad78a /src/make_plots.py | |
| parent | 566f9248c05db44133e3cbf145a4cbaf2fed140d (diff) | |
| download | cascades-4ba0141322e8d35da9a762909603bd280dec64bf.tar.gz | |
bug fix: initialization to directed graph missing
Diffstat (limited to 'src/make_plots.py')
| -rw-r--r-- | src/make_plots.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make_plots.py b/src/make_plots.py index 7c8bebb..905c731 100644 --- a/src/make_plots.py +++ b/src/make_plots.py @@ -40,7 +40,7 @@ def compare_greedy_and_lagrange_cs284r(): """ G = cascade_creation.InfluenceGraph(max_proba = .8) G.import_from_file("../datasets/subset_facebook_SNAPnormalize.txt") - A = cascade_creation.generate_cascades(G, p_init=.05, n_cascades=50) + A = cascade_creation.generate_cascades(G, p_init=.05, n_cascades=100) #Greedy G_hat = algorithms.greedy_prediction(G, A) |
