cambridge-mlg / Covid19

35 stars 3 forks source link

Update toml files and model_v2 #1

Closed mohamed82008 closed 4 years ago

mohamed82008 commented 4 years ago

This PR uses "better" branches for DistributionsAD, Bijectors, ReverseDiff, Turing and DPPL. These branches (if no bugs exist) should be strictly better than what master uses. I also updated model_v2 to use filldist, make it more numerically stable and speed things up. Please let me know if I missed anything.

mohamed82008 commented 4 years ago

Please make sure RD caching is off when running the sampling.

mohamed82008 commented 4 years ago

The branches here use the latest DPPL and Turing so @logpdf() += ... is now _varinfo.logp[] += ....

torfjelde commented 4 years ago

Awesome stuff! Cool if we rename model_v2 to model_v2_vectorized so we keep the "old" model for comparison? This is what's currently done in master.