summaryrefslogtreecommitdiffstats
path: root/experiments/ml.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'experiments/ml.pyx')
-rw-r--r--experiments/ml.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/experiments/ml.pyx b/experiments/ml.pyx
index 785986c..c8c99cc 100644
--- a/experiments/ml.pyx
+++ b/experiments/ml.pyx
@@ -89,7 +89,7 @@ def ml(dict root_victims, dict victims, dict non_victims, DTYPE_t age,
# add probability for realized edges and subtract probability these edges fail
beta_add += (probs[probs>=thresh]).sum()
# add probability for the seeds and non-seeds
- beta_add += roots * log(beta) + (n_nodes-roots) * log(1. - beta)
+ beta_add += roots * log(beta/3012.) + (n_nodes-roots) * log(1. - beta)
if beta_add > max_beta_add:
max_beta = beta