generated from pythonhealthdatascience/stars_reproduction_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(logbook): add day 12 and fix day 7 table
- Loading branch information
1 parent
93cea89
commit 29d0c4d
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: "Day 12" | ||
author: "Amy Heather" | ||
date: "2024-10-11" | ||
categories: [reproduction] | ||
bibliography: ../../../quarto_site/references.bib | ||
--- | ||
|
||
## 09.50-09.59: Attempting to run with 50 million agents for one entire `.Rmd` file | ||
|
||
Returning to this as long delays and minimal response in getting access to the HPC, and figured its worth seeing if we can manage to run this locally on our high-powered machine that I have used previously, over the weekend. | ||
|
||
Set up `Case_Detection_Results.Rmd` to run with 50 million agents (so from 5e5 to 50e6). | ||
|
||
``` | ||
Rscript -e "rmarkdown::render('scripts/Case_Detection_Results.Rmd')" | ||
``` | ||
|
||
## Timings | ||
|
||
```{python} | ||
import sys | ||
sys.path.append('../') | ||
from timings import calculate_times | ||
# Minutes used prior to today | ||
used_to_date = 1048 | ||
# Times from today | ||
times = [ | ||
('09.50', '09.59')] | ||
calculate_times(used_to_date, times) | ||
``` |