Skip to content

Commit 1419f3a

Browse files
Merge pull request #100 from elseml/master
Minor model comparison tutorial description update
2 parents c507fca + 55827b3 commit 1419f3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/Model_Comparison_MPT.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@
699699
"cell_type": "markdown",
700700
"metadata": {},
701701
"source": [
702-
"Our simple simulators are extremly fast, so we can use online training (simulating the data on the fly during training). Here, we use 5 epochs with 500 iterations each and a batch size of 64 simulations. This means that we use $10 \\times 500 \\times 64 = 320,000$ unique simulations in total for training our neural network. We can do this, because the simulators are trivial to implement and thus very efficient to run. Training should take a couple of seconds to complete."
702+
"Our simple simulators are extremly fast, so we can use online training (simulating the data on the fly during training). Here, we use $10$ epochs with $500$ iterations each and a batch size of $64$ simulations. This means that we use $10 \\times 500 \\times 64 = 320,000$ unique simulations in total for training our neural network. We can do this because the simulators are trivial to implement and thus very efficient to run. Training should take a couple of seconds to complete."
703703
]
704704
},
705705
{
@@ -937,7 +937,7 @@
937937
],
938938
"source": [
939939
"# Way 1: Amortizer with dictionary input\n",
940-
"amortizer.posterior_probs({\"summary_conditions\" : fake_data})[0]"
940+
"amortizer.posterior_probs({\"summary_conditions\": fake_data})[0]"
941941
]
942942
},
943943
{
@@ -1016,7 +1016,7 @@
10161016
"name": "python",
10171017
"nbconvert_exporter": "python",
10181018
"pygments_lexer": "ipython3",
1019-
"version": "3.10.12"
1019+
"version": "3.10.10"
10201020
},
10211021
"toc": {
10221022
"base_numbering": 1,

0 commit comments

Comments
 (0)