Skip to content

Commit

Permalink
examples: rerun notebooks post #570
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyPlanden committed Dec 4, 2024
1 parent 8c6c8f9 commit 0891d89
Show file tree
Hide file tree
Showing 20 changed files with 831 additions and 611 deletions.
22 changes: 11 additions & 11 deletions examples/notebooks/battery_parameterisation/ecm_trust-constr.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

190 changes: 95 additions & 95 deletions examples/notebooks/comparison_examples/optimiser_calibration.ipynb

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions examples/notebooks/comparison_examples/solver_selection.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"/Users/engs2510/Documents/Git/Second_PyBOP/.nox/notebooks-overwrite/bin/python3: No module named pip\r\n"
"/Users/engs2510/Documents/Git/PyBOP/.nox/notebooks-overwrite/bin/python3: No module named pip\r\n"
]
},
{
Expand All @@ -46,7 +46,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"/Users/engs2510/Documents/Git/Second_PyBOP/.nox/notebooks-overwrite/bin/python3: No module named pip\r\n"
"/Users/engs2510/Documents/Git/PyBOP/.nox/notebooks-overwrite/bin/python3: No module named pip\r\n"
]
},
{
Expand Down Expand Up @@ -194,28 +194,28 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Time Evaluate IDA KLU solver: 0.320\n"
"Time Evaluate IDA KLU solver: 0.385\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Time Evaluate CasADi solver with 'safe' mode: 1.176\n"
"Time Evaluate CasADi solver with 'safe' mode: 1.228\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Time Evaluate CasADi solver with 'fast' mode: 0.912\n"
"Time Evaluate CasADi solver with 'fast' mode: 1.873\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Time Evaluate CasADi solver with 'fast with events' mode: 0.943\n"
"Time Evaluate CasADi solver with 'fast with events' mode: 1.195\n"
]
}
],
Expand Down Expand Up @@ -248,28 +248,28 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Time EvaluateS1 IDA KLU solver: 0.786\n"
"Time EvaluateS1 IDA KLU solver: 1.266\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Time EvaluateS1 CasADi solver with 'safe' mode: 3.751\n"
"Time EvaluateS1 CasADi solver with 'safe' mode: 4.969\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Time EvaluateS1 CasADi solver with 'fast' mode: 3.326\n"
"Time EvaluateS1 CasADi solver with 'fast' mode: 5.476\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Time EvaluateS1 CasADi solver with 'fast with events' mode: 3.349\n"
"Time EvaluateS1 CasADi solver with 'fast with events' mode: 3.913\n"
]
}
],
Expand Down Expand Up @@ -311,7 +311,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.2"
"version": "3.12.4"
}
},
"nbformat": 4,
Expand Down

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions examples/notebooks/getting_started/adamw_identification.ipynb

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/notebooks/getting_started/cost_compute_methods.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"/Users/engs2510/Documents/Git/Second_PyBOP/.nox/notebooks-overwrite/bin/python3: No module named pip\r\n"
"/Users/engs2510/Documents/Git/PyBOP/.nox/notebooks-overwrite/bin/python3: No module named pip\r\n"
]
},
{
Expand All @@ -37,7 +37,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"/Users/engs2510/Documents/Git/Second_PyBOP/.nox/notebooks-overwrite/bin/python3: No module named pip\r\n"
"/Users/engs2510/Documents/Git/PyBOP/.nox/notebooks-overwrite/bin/python3: No module named pip\r\n"
]
},
{
Expand Down Expand Up @@ -385,7 +385,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.2"
"version": "3.12.4"
}
},
"nbformat": 4,
Expand Down
8 changes: 4 additions & 4 deletions examples/notebooks/getting_started/creating_a_model.ipynb

Large diffs are not rendered by default.

76 changes: 35 additions & 41 deletions examples/notebooks/getting_started/maximum_a_posteriori.ipynb

Large diffs are not rendered by default.

20 changes: 7 additions & 13 deletions examples/notebooks/getting_started/optimiser_interface.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,15 @@
"name": "stdout",
"output_type": "stream",
"text": [
"/Users/engs2510/Documents/Git/Second_PyBOP/.nox/notebooks-overwrite/bin/python3: No module named pip\r\n"
"/Users/engs2510/Documents/Git/PyBOP/.nox/notebooks-overwrite/bin/python3: No module named pip\r\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Note: you may need to restart the kernel to use updated packages.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"/Users/engs2510/Documents/Git/Second_PyBOP/.nox/notebooks-overwrite/bin/python3: No module named pip\r\n"
"Note: you may need to restart the kernel to use updated packages.\n",
"/Users/engs2510/Documents/Git/PyBOP/.nox/notebooks-overwrite/bin/python3: No module named pip\r\n"
]
},
{
Expand Down Expand Up @@ -169,7 +163,7 @@
" Initial parameters: [0.00032648]\n",
" Optimised parameters: [0.00099965]\n",
" Final cost: 1.363466506257511e-09\n",
" Optimisation time: 1.6153881549835205 seconds\n",
" Optimisation time: 1.166719913482666 seconds\n",
" Number of iterations: 23\n",
" SciPy result available: No\n"
]
Expand Down Expand Up @@ -208,7 +202,7 @@
" Initial parameters: [0.00032648]\n",
" Optimised parameters: [0.00099985]\n",
" Final cost: 2.431998416403876e-10\n",
" Optimisation time: 1.972628116607666 seconds\n",
" Optimisation time: 1.187587022781372 seconds\n",
" Number of iterations: 25\n",
" SciPy result available: No\n"
]
Expand Down Expand Up @@ -241,7 +235,7 @@
{
"data": {
"text/plain": [
"True"
"False"
]
},
"execution_count": null,
Expand Down Expand Up @@ -311,7 +305,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.2"
"version": "3.12.4"
}
},
"nbformat": 4,
Expand Down

Large diffs are not rendered by default.

0 comments on commit 0891d89

Please sign in to comment.