Skip to content

Commit 1a0997f

Browse files
committed
SIR example: minor cleaning
1 parent a6f0259 commit 1a0997f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/SIR_PosteriorEstimation.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@
567567
"id": "c2feeb0c",
568568
"metadata": {},
569569
"source": [
570-
"We are not ready to train. If nto provided, the default settings use $100$ epochs with a batch size of $32$ are used."
570+
"We are now ready to train. If not provided, the default settings use $100$ epochs with a batch size of $32$."
571571
]
572572
},
573573
{
@@ -1076,8 +1076,8 @@
10761076
"# Our real-data loader returns the time series as a 1D array\n",
10771077
"obs_cases = load_data()\n",
10781078
"\n",
1079-
"# Note that we transform the 1D array into shape (1, T, 1), indicating one time series\n",
1080-
"samples = workflow.sample(conditions={\"cases\": obs_cases[None, :, None]}, num_samples=num_samples)\n",
1079+
"# Note that we transform the 1D array into shape (1, T), indicating one time series\n",
1080+
"samples = workflow.sample(conditions={\"cases\": obs_cases[None, :]}, num_samples=num_samples)\n",
10811081
"\n",
10821082
"# Convert into a nice format 2D data frame\n",
10831083
"samples = workflow.samples_to_data_frame(samples)\n",

0 commit comments

Comments
 (0)