Skip to content

Commit

Permalink
Correct error in notebook with fixed C, all data is now used for like…
Browse files Browse the repository at this point in the history
…lihood
  • Loading branch information
jdehning committed May 26, 2021
1 parent 116260a commit b970c7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion covid19_npis/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
convolution_with_map,
)

from .approximate_posterior import build_approximate_posterior
from .approximate_posterior import build_approximate_posterior, build_iaf

from . import number_of_tests
from . import deaths
Expand Down
1 change: 1 addition & 0 deletions scripts/notebooks/SIR_model_with_age_groups_fixed_C.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@
"modelParams._dataframe_new_cases = positive_tests[1:] \n",
"modelParams.pos_tests_data_tensor = positive_tests[1:]\n",
"positive_tests_formatted = modelParams.pos_tests_data_tensor[1:]\n",
"modelParams._set_data_mask()\n",
"this_model = SIR_model(modelParams) \n",
"\n",
"print(modelParams.pos_tests_data_tensor[1:6])\n",
Expand Down

0 comments on commit b970c7b

Please sign in to comment.