summaryrefslogtreecommitdiffstats
path: root/experiments/ml2.pyx
diff options
context:
space:
mode:
authorBen Green <ben@SEASITs-MacBook-Pro.local>2015-06-22 13:38:12 -0400
committerBen Green <ben@SEASITs-MacBook-Pro.local>2015-06-22 13:38:12 -0400
commitd99879dc3d6839b00f4b325320fe2b992391b915 (patch)
tree570597ea2e30d986c0cd891b8a87620ebb6d85e3 /experiments/ml2.pyx
parentb26412ed5a3e08e9dc32fc73c27c42be54d82aa8 (diff)
downloadcriminal_cascades-d99879dc3d6839b00f4b325320fe2b992391b915.tar.gz
Added ml3, where we don’t consider edges from victims to non-victims.
Also playing around with only allowing most likely parent to try and infect. Still working to see if some variant produces good results that allow us to determine seeds/non-seeds.
Diffstat (limited to 'experiments/ml2.pyx')
-rw-r--r--experiments/ml2.pyx1
1 files changed, 1 insertions, 0 deletions
diff --git a/experiments/ml2.pyx b/experiments/ml2.pyx
index e3678dd..95f6f34 100644
--- a/experiments/ml2.pyx
+++ b/experiments/ml2.pyx
@@ -37,6 +37,7 @@ cdef DTYPE_t weight_failure(int dist, int dt, DTYPE_t alpha, DTYPE_t delta,
def ml2(dict root_victims, dict victims, dict non_victims, DTYPE_t age,
DTYPE_t alpha, DTYPE_t delta):
+ print 'ML2'
cdef:
int n_roots, n_victims, roots, i, dist, dt, t, l
DTYPE_t beta, ll