diff options
Diffstat (limited to 'experiments/ml2.pyx')
| -rw-r--r-- | experiments/ml2.pyx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/experiments/ml2.pyx b/experiments/ml2.pyx index dd0e7a8..1458683 100644 --- a/experiments/ml2.pyx +++ b/experiments/ml2.pyx @@ -15,7 +15,6 @@ cdef DTYPE_t weight_success(int dist, int dt, DTYPE_t alpha, DTYPE_t delta, DTYP temporal = log(exp(alpha)-1.) - alpha*dt # temporal = 1. / (1. + (dt - 1.)/alpha)**0.01 - 1. / (1. + dt/alpha)**0.01 result = log(structural) + temporal - # print 'st', structural, temporal return result cdef DTYPE_t weight_failure(int dist, int dt, DTYPE_t alpha, DTYPE_t delta, DTYPE_t lmbda, @@ -27,7 +26,6 @@ cdef DTYPE_t weight_failure(int dist, int dt, DTYPE_t alpha, DTYPE_t delta, DTYP temporal = exp(-alpha * dt) # temporal = 1. - 1. / (1. + dt/alpha)**0.01 result = log(1. - structural + structural * temporal) - # print 'stnv', structural, temporal return result def ml2(dict root_victims, dict victims, dict non_victims, |
