diff --git a/docs/blog/2023/cma-es.md b/docs/blog/2023/cma-es.md index 6dfde3e..e48b17b 100644 --- a/docs/blog/2023/cma-es.md +++ b/docs/blog/2023/cma-es.md @@ -101,9 +101,11 @@ z = [f(x, y) for x in xy, y in xy] This gives us the following surface, +
```plotly {"file_path": "./blog/2023/CMAES/surface-truth.json"} ``` +
A nice parabolic function with a global minimum at $(0,0)$. Now let's add some noise to the function, we do this with the [Distributions.jl](https://github.com/JuliaStats/Distributions.jl) package in Julia. Let's sample from a normal distribution with a mean of zero and a standard deviation of 5. The updated function is given by $f(\mathbf{x}) = \mathbf{x}^2 + \varepsilon$, where $\varepsilon \sim \mathcal{N}(0, 5)$. The updated Julia form is then diff --git a/docs/blog/2023/github-runner.md b/docs/blog/2023/github-runner.md index ef44841..ebe81fd 100644 --- a/docs/blog/2023/github-runner.md +++ b/docs/blog/2023/github-runner.md @@ -11,7 +11,10 @@ description: "Configure a self-hosted Apple M2 GitHub runner to validate the dep In this post, I take a look at the process of creating a self-hosted ARM-based GitHub runner for CI/CD. This runner is currently being used for the development of PyBaMM and PyBOP. -Featured Banner + +
+Featured Banner +
**TL;DR**: Configure a self-hosted Apple M2 GitHub runner to validate the deployment of your repositories on Apple-based ARM hardware. An [example](#example-workflow) workflow is presented from PyBaMM's daily testing workflow. This example is over 2X faster than the GitHub-hosted hardware.