tapios / risk-networks

Code for risk networks: a blend of compartmental models, graphs, data assimilation and semi-supervised learning
Other
2 stars 2 forks source link

Identifying master equations and kinetic model #103

Closed odunbar closed 4 years ago

odunbar commented 4 years ago

See issue #102 .

I have created an example master_and_kinetic.py that runs the epidemic model and the master equation model with same ICs, transition_rates and community_transmission_rate on a shared contact network.

bugfixes to resolve the gap:

  1. change risk_simulator to read the newly named edge attributes set in the kinetic model simulator.
  2. Added settable start time to risk_simulator, synced with kinetic model
  3. (also) reduced the static contact interval to 3 hours
odunbar commented 4 years ago

compare_kinetic_and_master

This is the current kinetic_and_master.py output using 3 hour static contact windows. It is convincing - I am willing to close this branch now so @dburov190 and @jinlong83 have access to the models for DA, while Alfredo creates the final quantitative test