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

new location object in json files and load in model #56

Closed
wants to merge 77 commits into from

Conversation

boda26
Copy link
Collaborator

@boda26 boda26 commented Feb 25, 2023

Add new json files containing location object
Load json file in modelrunner_group
Load location dwell time in covidmodel

dependabot bot and others added 30 commits June 10, 2022 00:06
Bumps [cookiecutter](https://github.com/cookiecutter/cookiecutter) from 1.7.0 to 2.1.1.
- [Release notes](https://github.com/cookiecutter/cookiecutter/releases)
- [Changelog](https://github.com/cookiecutter/cookiecutter/blob/master/HISTORY.md)
- [Commits](cookiecutter/cookiecutter@1.7.0...2.1.1)

---
updated-dependencies:
- dependency-name: cookiecutter
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
combine model_runner and model_runner_checkpoint
xinyih8 and others added 25 commits July 10, 2022 12:02
perf: Use Python builtin RNG to generate Bernoulli samples
perf: Use Python builtin random.random to generate Poisson samples
perf: Access grid content of single position directly
* Add boilerplate for the policy handler.

* policyhandler

---------

Co-authored-by: Santiago Nunez-Corrales <[email protected]>
* dwell time for locations

* revise dwell time at locations

* Update covidmodel.py

---------

Co-authored-by: bodasong <[email protected]>
@boda26 boda26 linked an issue Feb 25, 2023 that may be closed by this pull request
# given distribution
location_probs = location_spec["proportions"]
location_dwell_time = location_probs["dwell"]
for x, y in zip(range(self.grid.width), range(self.grid.height)):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space before the for loop

@nunezco2 nunezco2 changed the base branch from master to NPRE-580 February 27, 2023 22:08
@nunezco2 nunezco2 closed this Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use the location types and their distribution to setup the dwell times
5 participants