Skip to content

Commit

Permalink
Updating logging_times to include start_time and end_time in ensemble…
Browse files Browse the repository at this point in the history
…_sample
  • Loading branch information
anirban-chaudhuri committed Apr 15, 2024
1 parent b000bec commit 4798686
Show file tree
Hide file tree
Showing 2 changed files with 251 additions and 250 deletions.
494 changes: 247 additions & 247 deletions docs/source/interfaces.ipynb

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions pyciemss/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,10 @@ def ensemble_sample(
model_paths_or_jsons, dirichlet_alpha, solution_mappings
)

logging_times = torch.arange(
start_time + logging_step_size, end_time, logging_step_size
)
# logging_times = torch.arange(
# start_time + logging_step_size, end_time, logging_step_size
# )
logging_times = torch.arange(start_time, end_time + logging_step_size, logging_step_size)

# Check that num_samples is a positive integer
if not (isinstance(num_samples, int) and num_samples > 0):
Expand Down

0 comments on commit 4798686

Please sign in to comment.