pyro-ppl / pyro

Deep universal probabilistic programming with Python and PyTorch
http://pyro.ai
Apache License 2.0
8.49k stars 982 forks source link

FR Discrete compartmental models for epidemiology #2426

Closed fritzo closed 3 years ago

fritzo commented 4 years ago

This issue tracks tasks related to discrete compartmental models. See design doc for motivation.

Modeling

Inference

Engineering

Tidying up for first release DONE

martinjankowiak commented 4 years ago

great task list. i'm going to try to put together something so we can try larger enumeration windows

fritzo commented 4 years ago

Re: splines, I think we will need different spline weights for differently sized windows. Cubic splines require at least four points. Each point added beyond four gives one new degree of freedom on the coefficients to be solved (the other three degrees of freedom are used by the boundary conditions). One natural way to constrain these extra degrees of freedom in spline coefficients is to minimize the sum of squares of cubic coefficients, i.e. a simple notion of maximally smooth.

fritzo commented 3 years ago

Closing in favor of finer-grained issues.