Commit e8c43be6 authored by Chris Jewell's avatar Chris Jewell
Browse files

Implemented new Tiered analysis into production code.

parent dd85f093
......@@ -15,7 +15,7 @@ DTYPE = np.float64
STOICHIOMETRY = np.array([[-1, 1, 0, 0], [0, -1, 1, 0], [0, 0, -1, 1]])
TIME_DELTA = 1.0
XI_FREQ = 14 # baseline transmission changes every 14 days
NU = tf.constant(0.5, dtype=DTYPE) # E->I rate assumed known.
NU = tf.constant(0.28, dtype=DTYPE) # E->I rate assumed known.
def read_covariates(paths, date_low, date_high):
......
......@@ -74,7 +74,7 @@ def predicted_incidence(theta, xi, init_state, init_step, num_steps, priors):
def sim_fn(args):
theta_, xi_, init_ = args
par = dict(beta1=xi_[0], beta2=theta_[0], gamma=theta_[1], xi=xi_[1:])
par = dict(beta1=xi_[0], beta2=theta_[0], beta3=xi_[1:3], gamma=theta_[1], xi=xi_[3:])
model = model_spec.CovidUK(
covar_data,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment