From 4569696cc7863b2343d051dbabae536341c1e96f Mon Sep 17 00:00:00 2001 From: Damon Bayer Date: Mon, 12 Aug 2024 17:42:40 -0500 Subject: [PATCH 1/2] Update infectionswithfeedback.py --- model/src/pyrenew/latent/infectionswithfeedback.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/model/src/pyrenew/latent/infectionswithfeedback.py b/model/src/pyrenew/latent/infectionswithfeedback.py index fffa7307..b7d23316 100644 --- a/model/src/pyrenew/latent/infectionswithfeedback.py +++ b/model/src/pyrenew/latent/infectionswithfeedback.py @@ -194,10 +194,6 @@ def sample( reversed_infection_feedback_pmf=inf_fb_pmf_rev, ) - # Appending initial infections to the infections - - numpyro.deterministic("Rt_adjusted", Rt_adj) - return InfectionsRtFeedbackSample( post_initialization_infections=SampledValue( value=post_initialization_infections, From 54224ae6ef769adb71222a539f1cc2252e3bec9f Mon Sep 17 00:00:00 2001 From: damonbayer Date: Thu, 15 Aug 2024 17:47:44 -0500 Subject: [PATCH 2/2] remove numpyro import --- model/src/pyrenew/latent/infectionswithfeedback.py | 1 - 1 file changed, 1 deletion(-) diff --git a/model/src/pyrenew/latent/infectionswithfeedback.py b/model/src/pyrenew/latent/infectionswithfeedback.py index b7d23316..18e383f8 100644 --- a/model/src/pyrenew/latent/infectionswithfeedback.py +++ b/model/src/pyrenew/latent/infectionswithfeedback.py @@ -4,7 +4,6 @@ from typing import NamedTuple import jax.numpy as jnp -import numpyro import pyrenew.arrayutils as au import pyrenew.latent.infection_functions as inf from numpy.typing import ArrayLike