-
Notifications
You must be signed in to change notification settings - Fork 5
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
Lite #207
Open
cyborginhas
wants to merge
56
commits into
main
Choose a base branch
from
lite
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Lite #207
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…24.3% more time, -34.1% env_mem)
…change in env_mem)
…re efficient to create pops_multirun_lite.R from pops.R
… use infilenames, enabling organized tracking of pops_lite raw exports to streamline subsequent analysis and data summarization.
…e_config to pass tests
…d, total_hosts, total_exposed, mortality tracker) into a function, and reduced intermediate objects.
…EI matrices, etc.) from pops_lite.R
…step naming requirements.
…ts and associated seeds.
…teration after excluding spatial_indices, soil_reservoirs, and exposed (if model_type = SI)
- update pops_lite_run to accept a config file that reads in configuration data, rather than producing the configuration data, and then running pops lite. 58.7% less memory needed.
…number of cores and iterations.
…adjusts file paths to point to the data's new location on a different workstation without requiring the config file to be recreated.
…ew root directory for input and output file paths in the config_file. This updates paths to reflect a new location on a different workstation without recreating the config_file. The default is NULL, meaning the original paths in the config_file will be used if no new path is provided.
…r quantity, allocation, and disagreement lite functions to optimize memory usage.
…ation_disagreement_lite.R function; currently keys are for pops_lite.R
…th data prep for use_rmse and use_distance.
…ement.R; instead accepts config_qad_lite_file which contains the outputs after data prep. All other analyses in this function are unchanged from quantity_allocation_disagreement.R, excluding a few time/memory improvements.
…configuration_qad_lite functions
…d configuration_qad_lite functions reduce time by 65.2% and memory allocation by 49.58%.
…When multiple_random_seed = TRUE and file_random_seeds = NULL in the config, resample seeds using number_of_iterations and generate a unique ID to track random seeds used per pops_model run. Added if/else logic to optionally include unique IDs in the pops_model output file names.
…nces of duplicate ids if a large number of runs needed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
update single-host pops to include (e.g., pops_lite, config_qad_lite, quantity_allocation_disagreement_lite.R) and modify functions (helpers.R, configuration.R) to allow for broad extent, fine-resolution PoPS forecasting.