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

Remove passing large amounts of NamedTuples in return value of Turing models #246

Closed
SamuelBrand1 opened this issue Jun 3, 2024 · 0 comments · Fixed by #358
Closed

Remove passing large amounts of NamedTuples in return value of Turing models #246

SamuelBrand1 opened this issue Jun 3, 2024 · 0 comments · Fixed by #358
Labels
enhancement New feature or request EpiAware

Comments

@SamuelBrand1
Copy link
Collaborator

At the moment, we are passing a lot of NamedTuples with "auxiliary" variables as generated quantities / return object from constructed Turing models.

This is mainly used internally via @submodel macro usage on constructing Turing models that represent various components of the epidemiological model we want to model generatively.

I don't think passing all these variables is necessary, cause code bloat and could be making type inference more difficult (I'm not so sure about this though). I think we can eliminate to only pass samples of the latent models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request EpiAware
Projects
None yet
1 participant