Skip to content

Commit 9682f08

Browse files
mrzkpteubert
authored andcommitted
Update benchmarking.ipynb
1 parent 8cdccb5 commit 9682f08

File tree

1 file changed

+9
-21
lines changed

1 file changed

+9
-21
lines changed

examples/benchmarking.ipynb

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": 1,
5+
"execution_count": null,
66
"metadata": {},
77
"outputs": [],
88
"source": [
@@ -22,7 +22,7 @@
2222
"cell_type": "markdown",
2323
"metadata": {},
2424
"source": [
25-
"The goal of this notebook is to demonstrate the Benchmarking feature offered for Prognostic Models. Specifically, we will demonstrate how to benchmark the computational efficiency of models with a simple example."
25+
"The goal of this notebook is to demonstrate the Benchmarking feature offered for Prognostic Models. Specifically, we will demonstrate via a simple example how to benchmark the computational efficiency of models!"
2626
]
2727
},
2828
{
@@ -35,7 +35,7 @@
3535
},
3636
{
3737
"cell_type": "code",
38-
"execution_count": 2,
38+
"execution_count": null,
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
@@ -56,12 +56,12 @@
5656
"cell_type": "markdown",
5757
"metadata": {},
5858
"source": [
59-
"Next, let's initialize our Battery Circuit by creating a model object."
59+
"Next, let's initialize our Battery Circuit by creating model object."
6060
]
6161
},
6262
{
6363
"cell_type": "code",
64-
"execution_count": 3,
64+
"execution_count": null,
6565
"metadata": {},
6666
"outputs": [],
6767
"source": [
@@ -74,7 +74,7 @@
7474
"cell_type": "markdown",
7575
"metadata": {},
7676
"source": [
77-
"Then, for our model, we will need to define a future loading function. More information on what a future loading function is and how to use it can be found here: https://nasa.github.io/progpy/prog_models_guide.html#future-loading"
77+
"Then, for our model, we would need to define a future loading function. More information on what a future loading function is and how to use it can be found here: https://nasa.github.io/progpy/prog_models_guide.html#future-loading"
7878
]
7979
},
8080
{
@@ -87,7 +87,7 @@
8787
},
8888
{
8989
"cell_type": "code",
90-
"execution_count": 4,
90+
"execution_count": null,
9191
"metadata": {},
9292
"outputs": [],
9393
"source": [
@@ -103,21 +103,9 @@
103103
"cell_type": "markdown",
104104
"metadata": {},
105105
"source": [
106-
<<<<<<< Updated upstream
107-
"Since this is a simple example, we are going to have a constant loading!"
108-
]
109-
},
110-
{
111-
"attachments": {},
112-
"cell_type": "markdown",
113-
"metadata": {},
114-
"source": [
115-
"Finally, we are ready to benchmark the simulation.\n",
116-
=======
117106
"Finally, we are going to need to benchmark the simulation!\n",
118-
>>>>>>> Stashed changes
119107
"\n",
120-
"We can do this by using the `timeit()` function and pass in our `simulate_to()` or `simulate_to_threshold()` function for the `stmt` argument. For more information regarding the `timeit()` function, please read its documentation located here: https://docs.python.org/3/library/timeit.html"
108+
"We can do this by using the `timeit()` function and pass in our `simulate_to()` or `simulate_to_threshold()` function for the `stmt` argument. For more information regarding the `timeit()` function, please read it's documentation located here: https://docs.python.org/3/library/timeit.html"
121109
]
122110
},
123111
{
@@ -137,7 +125,7 @@
137125
"cell_type": "markdown",
138126
"metadata": {},
139127
"source": [
140-
"In this example, we are benchmarking the simulation for the BatteryCircuit model up to 600 seconds. Furthermore, we define our `number` argument to be 500 for sake of runtime."
128+
"In this example, we would be benchmarking the simulation for the BatteryCircuit model up to 600 seconds. Furthermore, we will define our `number` argument to be 500 for sake of runtime."
141129
]
142130
},
143131
{

0 commit comments

Comments
 (0)