Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Observation process as a Turing model #41

Closed
SamuelBrand1 opened this issue Feb 15, 2024 · 1 comment · Fixed by #44
Closed

Observation process as a Turing model #41

SamuelBrand1 opened this issue Feb 15, 2024 · 1 comment · Fixed by #44

Comments

@SamuelBrand1
Copy link
Collaborator

At the moment the observation process is embedded inside the make_epi_inference_model function/constructor

#Predictive distribution
case_pred_dists =
(epimodel.data.delay_kernel * I_t) .+ pos_shift .|>
μ -> mean_cc_neg_bin(μ, neg_bin_cluster_factor)
#Likelihood
y_t ~ arraydist(case_pred_dists)

The reason for this is that this project envisions using only one type of observation model: a time-invariant delay distributions between infection and reference time of a case.

The problems are that:

  • This doesn't promote modularity/extensibility, because it hard fixes an modelling approach.
  • It lacks flexibility within the short term focus of this project. For example, we might want to generate some time series of infections before case observation; this being a standard initialisation approach to inference problems on case time series (see also Initialisation infection generation processes #40 ).

Proposed solutions

Abstracting the observation process to a Turing model with options.

@SamuelBrand1 SamuelBrand1 linked a pull request Feb 19, 2024 that will close this issue
@SamuelBrand1
Copy link
Collaborator Author

This was closed by #44

@seabbs seabbs added this to the EpiAware 0.1.0 milestone Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants