From a04d00976c6a3e990dd1f59b4ab2507f574a6ddb Mon Sep 17 00:00:00 2001 From: Ben Green Date: Tue, 23 Jun 2015 14:10:51 -0400 Subject: ran some experiments with ml3, still no good results --- experiments/ml.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'experiments/ml.pyx') 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 -- cgit v1.2.3-70-g09d2