aboutsummaryrefslogtreecommitdiffstats
path: root/src/algorithms.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/algorithms.py')
-rw-r--r--src/algorithms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algorithms.py b/src/algorithms.py
index 39bcbb2..5b07f78 100644
--- a/src/algorithms.py
+++ b/src/algorithms.py
@@ -10,7 +10,7 @@ import timeout
def greedy_prediction(G, cascades):
"""
Returns estimated graph from Greedy algorithm in "Learning Epidemic ..."
- Only words for independent cascade model!
+ Only works for independent cascade model!
"""
G_hat = cascade_creation.InfluenceGraph(max_proba=None)
G_hat.add_nodes_from(G.nodes())