diff options
Diffstat (limited to 'experiments/ml.pyx')
| -rw-r--r-- | experiments/ml.pyx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/experiments/ml.pyx b/experiments/ml.pyx index 5016347..785986c 100644 --- a/experiments/ml.pyx +++ b/experiments/ml.pyx @@ -6,9 +6,6 @@ from libc.math cimport log, exp DTYPE = np.float64 ctypedef np.float_t DTYPE_t -cdef DTYPE_t plogis(DTYPE_t weight, DTYPE_t delta): - return 1./(1. + exp(-weight/delta)) - cdef DTYPE_t weight_success(int dist, int dt, DTYPE_t alpha, DTYPE_t delta, DTYPE_t w1, DTYPE_t w2, DTYPE_t w3): """weight for successful infection, exponential time model""" |
